Transform the left input of the given Wye using a Process1.
Transform the right input of the given Wye using a Process1.
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 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.
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.
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.
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)).
Nondeterminstic interleave of both inputs.
Nondeterminstic interleave of both inputs. Emits values whenever either of the inputs is available.
Feed a single These value to a Wye.
Feed a value to both the right and left branch of a Wye.
Feed a single value to the left branch of a Wye.
Feed a single value to the right branch of a Wye.
Feed a sequence of values to the left branch of a Wye.
Feed a sequence of values to the right branch of a Wye.
Convert right requests to left requests and vice versa.
Let through the right branch as long as the left branch is false,
listening asynchronously for the left branch to become true.
Nondeterminstic interleave of both inputs.
Nondeterminstic interleave of both inputs. Emits values whenever either of the inputs is available.
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.
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)
Nondeterministic version of zip which requests both sides in parallel.
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.
Nondeterministic version of zipWith which requests both sides in parallel.
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.