molecule.stream.ichan

CombineUtils

object CombineUtils extends AnyRef

Source
CombineUtils.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. CombineUtils
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

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 ZipChan extends AnyRef

  7. def append[A](first: IChan[A], second: PartialFunction[Signal, IChan[A]]): IChan[A]

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  15. final def interleave[A, B](left: IChan[A], right: IChan[B], closeIfLeftClosed: Boolean, closeIfRightClosed: Boolean)(implicit arg0: Message[A], arg1: Message[B]): IChan[Either[A, B]]

    Interleave the messages produced asynchronously on a channel with the messages produced on an other channel.

    Interleave the messages produced asynchronously on a channel with the messages produced on an other channel. This builds a new input channel that produces one message of type Either[A, B] for every message produce on one or the other channel, where A is the type of messages produced on the left channel and B is the type of messages produced on the right channel. By default, the resulting channel is closed when both input channels are closed.

    left

    the left input channel

    right

    the right input channel

    closeIfLeftClosed

    flag that indicating if the resulting channel must be closed if this channel is closed.

    closeIfRightClosed

    flag that indicating if the resulting channel must be closed if the other channel is closed.

    returns

    a new input channel that produces one message of type Either[A, B] for every message produce on this or the other channel

  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def leftBiasedSelectOnce[A, B, C](tia: TestableIChan[A], tib: ⇒ TestableIChan[B])(t: UThread)(f: (Either[(Boolean, Seg[A], IChan[A], IChan[B]), (Seg[B], IChan[B], IChan[A])]) ⇒ Unit)(implicit arg0: Message[A], arg1: Message[B]): Unit

    This one is useful for checking timeout and ensure that a timeout channel is only created if there is no data on the left channel.

    This one is useful for checking timeout and ensure that a timeout channel is only created if there is no data on the left channel. The boolean flag is true is the second channel has not been evaluated.

    Note that f will be called immediately if the next segment is empty and/or the next channel is Nil.

  18. final def merge[A](left: IChan[A], right: IChan[A])(implicit arg0: Message[A]): IChan[A]

  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. final def selectOnce[A, B, C](tia: TestableIChan[A], tib: TestableIChan[B])(t: UThread)(f: (Either[(Seg[A], IChan[A], IChan[B]), (Seg[B], IChan[B], IChan[A])]) ⇒ Unit)(implicit arg0: Message[A], arg1: Message[B]): Unit

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

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any