trait WyeOps[+O] extends AnyRef
- Alphabetic
- By Inheritance
- WyeOps
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (WyeOps[O], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
either[O2 >: O, O3](p2: Process[Task, O3])(implicit S: Strategy): Process[Task, \/[O2, O3]]
Non-deterministic interleave of both streams.
Non-deterministic interleave of both streams. Emits values whenever either is defined. Note this terminates after BOTH sides terminate
- def ensuring(cond: (WyeOps[O]) ⇒ Boolean, msg: ⇒ Any): WyeOps[O]
- def ensuring(cond: (WyeOps[O]) ⇒ Boolean): WyeOps[O]
- def ensuring(cond: Boolean, msg: ⇒ Any): WyeOps[O]
- def ensuring(cond: Boolean): WyeOps[O]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
merge[O2 >: O](p2: Process[Task, O2])(implicit S: Strategy): Process[Task, O2]
Non-deterministic interleave of both streams.
Non-deterministic interleave of both streams. Emits values whenever either is defined. Note this terminates after BOTH sides terminate
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wye[O2, O3](p2: Process[Task, O2])(y: Wye[O, O2, O3])(implicit S: Strategy): Process[Task, O3]
Like
tee, but we allow theWyeto read non-deterministically from both sides at once.Like
tee, but we allow theWyeto read non-deterministically from both sides at once.If
yis in the state of awaitingBoth, this implementation will continue feedingyfrom either left or right side, until either it halts or _both_ sides halt.If
yis in the state of awaitingL, and the left input has halted, we halt. Likewise for the right side.For as long as
ypermits it, this implementation will _always_ feed it any leadingEmitelements from either side before issuing newFrequests. More sophisticated chunking and fairness policies do not belong here, but should be built into theWyeand/or its inputs.The strategy passed in must be stack-safe, otherwise this implementation will throw SOE. Preferably use one of the
Strategys.Executor(es)based strategies -
def
yip[O2](p2: Process[Task, O2])(implicit S: Strategy): Process[Task, (O, O2)]
Non-deterministic version of
zip.Non-deterministic version of
zip. Note this terminates whenever one of streams terminate -
def
yipWith[O2, O3](p2: Process[Task, O2])(f: (O, O2) ⇒ O3)(implicit S: Strategy): Process[Task, O3]
Non-deterministic version of
zipWith.Non-deterministic version of
zipWith. Note this terminates whenever one of streams terminate - def →[B](y: B): (WyeOps[O], B)