object tee
- Source
- tee.scala
- Alphabetic
- By Inheritance
- tee
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
disconnectL[I, I2, O](cause: EarlyCause)(tee: Tee[I, I2, O]): Tee[Nothing, I2, O]
Signals, that _left_ side of tee terminated.
Signals, that _left_ side of tee terminated. That causes all succeeding AwaitL to terminate with
causegiving chance to emit any values or read on right. -
def
disconnectR[I, I2, O](cause: EarlyCause)(tee: Tee[I, I2, O]): Tee[I, Nothing, O]
Signals, that _right_ side of tee terminated.
Signals, that _right_ side of tee terminated. That causes all succeeding AwaitR to terminate with
causegiving chance to emit any values or read on left. -
def
drainL[I]: Tee[Any, I, I]
Alternate pulling from the left, then right, repeatedly, starting on the left, and emitting only values from the right.
Alternate pulling from the left, then right, repeatedly, starting on the left, and emitting only values from the right. When the left is exhausted, behaves like
passR. -
def
drainR[I]: Tee[I, Any, I]
Alternate pulling from the left, then right, repeatedly, starting on the left, and emitting only values from the left.
Alternate pulling from the left, then right, repeatedly, starting on the left, and emitting only values from the left. When the right is exhausted, behaves like
passL. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
feed1L[I, I2, O](i: I)(t: Tee[I, I2, O]): Tee[I, I2, O]
Feed one input to the left branch of this
Tee. -
def
feed1R[I, I2, O](i2: I2)(t: Tee[I, I2, O]): Tee[I, I2, O]
Feed one input to the right branch of this
Tee. -
def
feedL[I, I2, O](i: Seq[I])(p: Tee[I, I2, O]): Tee[I, I2, O]
Feed a sequence of inputs to the left side of a
Tee. -
def
feedR[I, I2, O](i: Seq[I2])(p: Tee[I, I2, O]): Tee[I, I2, O]
Feed a sequence of inputs to the right side of a
Tee. -
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
interleave[I]: Tee[I, I, I]
A
Teewhich alternates between emitting values from the left input and the right input. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
passL[I]: Tee[I, Any, I]
A
Teewhich ignores all input from the right. -
def
passR[I2]: Tee[Any, I2, I2]
A
Teewhich ignores all input from left. -
def
receiveL[I, I2, O](rcv: (I) ⇒ Tee[I, I2, O]): Tee[I, I2, O]
Awaits to receive input from Left side, than if that request terminates with
Endor is terminated abnormally runs the suppliedcontinueorcleanup.Awaits to receive input from Left side, than if that request terminates with
Endor is terminated abnormally runs the suppliedcontinueorcleanup. Otherwisercvis run to produce next state.If you don't need
continueorcleanupuse ratherawaitL.flatMap -
def
receiveLOr[I, I2, O](fb: ⇒ Tee[I, I2, O])(rcvL: (I) ⇒ Tee[I, I2, O]): Tee[I, I2, O]
syntax sugar for receiveL
-
def
receiveR[I, I2, O](rcv: (I2) ⇒ Tee[I, I2, O]): Tee[I, I2, O]
Awaits to receive input from Right side, than if that request terminates with
Endor is terminated abnormally runs the supplied continue.Awaits to receive input from Right side, than if that request terminates with
Endor is terminated abnormally runs the supplied continue. Otherwisercvis run to produce next state.If you don't need
continueorcleanupuse ratherawaitR.flatMap -
def
receiveROr[I, I2, O](fb: ⇒ Tee[I, I2, O])(rcvR: (I2) ⇒ Tee[I, I2, O]): Tee[I, I2, O]
syntax sugar for receiveR
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
until[I]: Tee[Boolean, I, I]
Echoes the right branch until the left branch becomes
true, then halts. -
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( ... )
-
def
when[I]: Tee[Boolean, I, I]
Echoes the right branch when the left branch is
true. -
def
zip[I, I2]: Tee[I, I2, (I, I2)]
Defined as
zipWith((_,_)) -
def
zipAll[I, I2](padI: I, padI2: I2): Tee[I, I2, (I, I2)]
A version of
zipthat pads the shorter stream with values. -
def
zipApply[I, I2]: Tee[I, (I) ⇒ I2, I2]
Defined as
zipWith((arg,f) => f(arg) -
def
zipWith[I, I2, O](f: (I, I2) ⇒ O): Tee[I, I2, O]
Zip together two inputs, then apply the given function, halting as soon as either input is exhausted.
Zip together two inputs, then apply the given function, halting as soon as either input is exhausted. This implementation reads from the left, then the right.
-
def
zipWithAll[I, I2, O](padI: I, padI2: I2)(f: (I, I2) ⇒ O): Tee[I, I2, O]
A version of
zipWiththat pads the shorter stream with values. - object AwaitL
- object AwaitR