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.
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.
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
.
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
.
Feed one input to the left branch of this Tee
.
Feed one input to the right branch of this Tee
.
Feed a sequence of inputs to the left side of a Tee
.
Feed a sequence of inputs to the right side of a Tee
.
A Tee
which alternates between emitting values from the left input and the right input.
A Tee
which ignores all input from the right.
A Tee
which ignores all input from left.
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
syntax sugar for receiveL
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
syntax sugar for receiveR
Echoes the right branch until the left branch becomes true
, then halts.
Echoes the right branch when the left branch is true
.
Defined as zipWith((_,_))
A version of zip
that pads the shorter stream with values.
Defined as zipWith((arg,f) => f(arg)
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.
A version of zipWith
that pads the shorter stream with values.