Returns some signal if the input is closed.
Returns some signal if the input is closed.
Some(signal)
if the input contain no more elements, None
otherwise.
Test the input stream (see stream.
Test the input stream (see stream.TestableStream).
Create a selector that reads a value on either input unless one of them is closed.
Create a selector that reads a value on either input unless one of them is closed. If the one of them is closed an SigInput will be raised in the enclosing scope.
Create a selector that reads a value on either input unless the left one is closed.
Create a selector that reads a value on either input unless the left one is closed. If the left input is closed an SigInput will be raised in the enclosing scope.
Create a selector that reads a value on either input unless the right one is closed.
Create a selector that reads a value on either input unless the right one is closed. If the right input is closed an SigInput will be raised in the enclosing scope.
Create a selector that reads a value on either input unless they are both closed.
Create a selector that reads a value on either input unless they are both closed. If both input are closed an SigInput will be raised in the enclosing scope.
[use case] Applies a function f
to all elements of this input.
Applies a function f
to all elements of this input.
the function that is applied for its side-effect to every element.
The result of function f
is discarded.
Applies a function f
to all elements of this input.
Applies a function f
to all elements of this input.
the type parameter describing the result of function f
.
This result will always be ignored. Typically U
is Unit
,
but this is not necessary.
the function that is applied for its side-effect to every element.
The result of function f
is discarded.
Tests whether this input is closed and returns the signal.
Tests whether this input is closed and returns the signal.
Some(signal)
if the input contain no more elements, None
otherwise.
Tests whether this input is empty (or closed).
Tests whether this input is empty (or closed).
true
if the input contain no more elements, false
otherwise.
Read a single value or raise the signal if the input is closed
Read a single value or raise the signal if the input is closed
the next element of this input.
Input that produces one value at a time which may result from selecting on multiple inputs.