LPollable
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- LPollable.type
Members list
Value members
Concrete methods
The second LPollable is "detained" because that gives the client flexibility in how the Done signal resulting from the exhaustion of the first LPollable is awaited. For example, if polling of the second LPollable should be delayed until the first LPollable is completely shut down, the client can use detain to delay the second LPollable. If polling of the second LPollable should start as soon as it is known that there are no more elements in the first LPollable, the client can use detainClosed to delay the second LPollable.
The second LPollable is "detained" because that gives the client flexibility in how the Done signal resulting from the exhaustion of the first LPollable is awaited. For example, if polling of the second LPollable should be delayed until the first LPollable is completely shut down, the client can use detain to delay the second LPollable. If polling of the second LPollable should start as soon as it is known that there are no more elements in the first LPollable, the client can use detainClosed to delay the second LPollable.
Attributes
Polls and discards all elements.
Polls and discards all elements.
Attributes
Splits a stream of "A
or B
" to a stream of A
and a stream of B
.
Splits a stream of "A
or B
" to a stream of A
and a stream of B
.
Polls the upstream only after ''both'' downstreams poll. When either of the downstreams closes, the other downstream and the upstream are closed as well.