Object

molecule.stream.ichan

CombineUtils

Related Doc: package ichan

Permalink

object CombineUtils

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

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ZipChan

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

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

    Permalink

    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

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. 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

    Permalink

    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.

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

    Permalink
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. 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

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

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped