scalaz.stream

tee

object tee

Source
tee.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. tee
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type TeeAwaitL[I, I2, O] = Await[T, Is[I], O]

  2. type TeeAwaitR[I, I2, O] = Await[T, T[I2], O]

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object AwaitL

  7. object AwaitR

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. 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 cause giving chance to emit any values or read on right.

  11. 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 cause giving chance to emit any values or read on left.

  12. 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.

  13. 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.

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. 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.

  17. 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.

  18. 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.

  19. 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.

  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def interleave[I]: Tee[I, I, I]

    A Tee which alternates between emitting values from the left input and the right input.

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def passL[I]: Tee[I, Any, I]

    A Tee which ignores all input from the right.

  29. def passR[I2]: Tee[Any, I2, I2]

    A Tee which ignores all input from left.

  30. 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 End or is terminated abnormally runs the supplied continue or cleanup.

    Awaits to receive input from Left side, than if that request terminates with End or is terminated abnormally runs the supplied continue or cleanup. Otherwise rcv is run to produce next state.

    If you don't need continue or cleanup use rather awaitL.flatMap

  31. def receiveLOr[I, I2, O](fb: ⇒ Tee[I, I2, O])(rcvL: (I) ⇒ Tee[I, I2, O]): Tee[I, I2, O]

    syntax sugar for receiveL

  32. 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 End or is terminated abnormally runs the supplied continue.

    Awaits to receive input from Right side, than if that request terminates with End or is terminated abnormally runs the supplied continue. Otherwise rcv is run to produce next state.

    If you don't need continue or cleanup use rather awaitR.flatMap

  33. def receiveROr[I, I2, O](fb: ⇒ Tee[I, I2, O])(rcvR: (I2) ⇒ Tee[I, I2, O]): Tee[I, I2, O]

    syntax sugar for receiveR

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def until[I]: Tee[Boolean, I, I]

    Echoes the right branch until the left branch becomes true, then halts.

  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def when[I]: Tee[Boolean, I, I]

    Echoes the right branch when the left branch is true.

  41. def zip[I, I2]: Tee[I, I2, (I, I2)]

    Defined as zipWith((_,_))

  42. def zipAll[I, I2](padI: I, padI2: I2): Tee[I, I2, (I, I2)]

    A version of zip that pads the shorter stream with values.

  43. def zipApply[I, I2]: Tee[I, (I) ⇒ I2, I2]

    Defined as zipWith((arg,f) => f(arg)

  44. 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.

  45. def zipWithAll[I, I2, O](padI: I, padI2: I2)(f: (I, I2) ⇒ O): Tee[I, I2, O]

    A version of zipWith that pads the shorter stream with values.

Inherited from AnyRef

Inherited from Any

Ungrouped