scalaz.stream

wye

object wye extends wye

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

Type Members

  1. trait Request extends AnyRef

    Simple enumeration for dynamically generated Wye request types.

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 Request

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def attachL[I0, I, I2, O](p: Process1[I0, I])(w: Wye[I, I2, O]): Wye[I0, I2, O]

    Transform the left input of the given Wye using a Process1.

    Transform the left input of the given Wye using a Process1.

    Definition Classes
    wye
  9. def attachR[I, I1, I2, O](p: Process1[I1, I2])(w: Wye[I, I2, O]): Wye[I, I1, O]

    Transform the right input of the given Wye using a Process1.

    Transform the right input of the given Wye using a Process1.

    Definition Classes
    wye
  10. def boundedQueue[I](n: Int): Wye[Any, I, I]

    A Wye which emits values from its right branch, but allows up to n elements from the left branch to enqueue unanswered before blocking on the right branch.

    A Wye which emits values from its right branch, but allows up to n elements from the left branch to enqueue unanswered before blocking on the right branch.

    Definition Classes
    wye
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def drainL[I](maxUnacknowledged: Int): Wye[Any, I, I]

    A Wye which echoes the right branch while draining the left, taking care to make sure that the left branch is never more than maxUnacknowledged behind the right.

    A Wye which echoes the right branch while draining the left, taking care to make sure that the left branch is never more than maxUnacknowledged behind the right. For example: src.connect(snk)(observe(10)) will output the the same thing as src, but will as a side effect direct output to snk, blocking on snk if more than 10 elements have enqueued without a response.

    Definition Classes
    wye
  13. def drainR[I](maxUnacknowledged: Int): Wye[I, Any, I]

    A Wye which echoes the left branch while draining the right, taking care to make sure that the right branch is never more than maxUnacknowledged behind the left.

    A Wye which echoes the left branch while draining the right, taking care to make sure that the right branch is never more than maxUnacknowledged behind the left. For example: src.connect(snk)(observe(10)) will output the the same thing as src, but will as a side effect direct output to snk, blocking on snk if more than 10 elements have enqueued without a response.

    Definition Classes
    wye
  14. def dynamic[I, I2](f: (I) ⇒ Request, g: (I2) ⇒ Request): Wye[I, I2, These[I, I2]]

    After each input, dynamically determine whether to read from the left, right, or both, for the subsequent input, using the provided functions f and g.

    After each input, dynamically determine whether to read from the left, right, or both, for the subsequent input, using the provided functions f and g. The returned Wye begins by reading from the left side and is left-biased--if a read of both branches returns a These(x,y), it uses the signal generated by f for its next step.

    Definition Classes
    wye
  15. def dynamic1[I](f: (I) ⇒ Request): Wye[I, I, I]

    Invokes dynamic with I == I2, and produces a single I output.

    Invokes dynamic with I == I2, and produces a single I output. Output is left-biased: if a These(i1,i2) is emitted, this is translated to an emitSeq(List(i1,i2)).

    Definition Classes
    wye
  16. def either[I, I2]: Wye[I, I2, \/[I, I2]]

    Nondeterminstic interleave of both inputs.

    Nondeterminstic interleave of both inputs. Emits values whenever either of the inputs is available.

    Definition Classes
    wye
  17. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  19. def feed1[I, I2, O](i: These[I, I2])(w: Wye[I, I2, O]): Wye[I, I2, O]

    Feed a single These value to a Wye.

    Feed a single These value to a Wye.

    Definition Classes
    wye
  20. def feed1Both[I, I2, O](i: I, i2: I2)(w: Wye[I, I2, O]): Wye[I, I2, O]

    Feed a value to both the right and left branch of a Wye.

    Feed a value to both the right and left branch of a Wye.

    Definition Classes
    wye
  21. def feed1L[I, I2, O](i: I)(w: Wye[I, I2, O]): Wye[I, I2, O]

    Feed a single value to the left branch of a Wye.

    Feed a single value to the left branch of a Wye.

    Definition Classes
    wye
  22. def feed1R[I, I2, O](i2: I2)(w: Wye[I, I2, O]): Wye[I, I2, O]

    Feed a single value to the right branch of a Wye.

    Feed a single value to the right branch of a Wye.

    Definition Classes
    wye
  23. def feedL[I, I2, O](i: Seq[I])(w: Wye[I, I2, O]): Wye[I, I2, O]

    Feed a sequence of values to the left branch of a Wye.

    Feed a sequence of values to the left branch of a Wye.

    Definition Classes
    wye
  24. def feedR[I, I2, O](i2: Seq[I2])(w: Wye[I, I2, O]): Wye[I, I2, O]

    Feed a sequence of values to the right branch of a Wye.

    Feed a sequence of values to the right branch of a Wye.

    Definition Classes
    wye
  25. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def flip[I, I2, O](w: Wye[I, I2, O]): Wye[I2, I, O]

    Convert right requests to left requests and vice versa.

    Convert right requests to left requests and vice versa.

    Definition Classes
    wye
  27. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  29. def interrupt[I]: Wye[Boolean, I, I]

    Let through the right branch as long as the left branch is false, listening asynchronously for the left branch to become true.

    Let through the right branch as long as the left branch is false, listening asynchronously for the left branch to become true.

    Definition Classes
    wye
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def liftL[I0, I, I2, O](w: Wye[I, I2, O]): Wye[\/[I, I0], \/[I2, I0], \/[O, I0]]

    Lift a Wye to operate on the left side of an \/, passing through any values it receives on the right from either branch.

  32. def liftR[I0, I, I2, O](w: Wye[I, I2, O]): Wye[\/[I0, I], \/[I0, I2], \/[I0, O]]

    Lift a Wye to operate on the right side of an \/, passing through any values it receives on the left from either branch.

  33. def merge[I]: Wye[I, I, I]

    Nondeterminstic interleave of both inputs.

    Nondeterminstic interleave of both inputs. Emits values whenever either of the inputs is available.

    Definition Classes
    wye
  34. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def timedQueue[I](d: Duration, maxSize: Int = Int.MaxValue): Wye[Duration, I, I]

    A Wye which blocks on the right side when either a) the age of the oldest unanswered element from the left size exceeds the given duration, or b) the number of unanswered elements from the left exceeds maxSize.

    A Wye which blocks on the right side when either a) the age of the oldest unanswered element from the left size exceeds the given duration, or b) the number of unanswered elements from the left exceeds maxSize.

    Definition Classes
    wye
  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. def unboundedQueue[I]: Wye[Any, I, I]

    Wye which repeatedly awaits both branches, emitting any values received from the right.

    Wye which repeatedly awaits both branches, emitting any values received from the right. Useful in conjunction with connect, for instance src.connect(snk)(unboundedQueue)

    Definition Classes
    wye
  41. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def yip[I, I2]: Wye[I, I2, (I, I2)]

    Nondeterministic version of zip which requests both sides in parallel.

    Nondeterministic version of zip which requests both sides in parallel.

    Definition Classes
    wye
  45. def yipL[I, I2](n: Int): Wye[I, I2, (I, I2)]

    Left-biased, buffered version of yip.

    Left-biased, buffered version of yip. Allows up to n elements to enqueue on the left unanswered before requiring a response from the right. If buffer is empty, always reads from the left.

    Definition Classes
    wye
  46. def yipWith[I, I2, O](f: (I, I2) ⇒ O): Wye[I, I2, O]

    Nondeterministic version of zipWith which requests both sides in parallel.

    Nondeterministic version of zipWith which requests both sides in parallel.

    Definition Classes
    wye
  47. def yipWithL[I, O, O2](n: Int)(f: (I, O) ⇒ O2): Wye[I, O, O2]

    Left-biased, buffered version of yipWith.

    Left-biased, buffered version of yipWith. Allows up to n elements to enqueue on the left unanswered before requiring a response from the right. If buffer is empty, always reads from the left.

    Definition Classes
    wye

Inherited from wye

Inherited from AnyRef

Inherited from Any

Ungrouped