Pure holder of a single value of type A
that can be read in the effect F
.
- Companion
- object
Value members
Abstract methods
Returns a stream of the current value of the signal. An element is always available -- on each pull, the current value is supplied.
Returns a stream of the current value of the signal. An element is always available -- on each pull, the current value is supplied.
Returns a stream of the updates to this signal.
Returns a stream of the updates to this signal.
Updates that are very close together may result in only the last update appearing
in the stream. If you want to be notified about every single update, use
a Queue
or Channel
instead.
Concrete methods
Interrupts the supplied Stream
when this Signal
is true
.
Interrupts the supplied Stream
when this Signal
is true
.
Converts this signal to signal of B
by applying f
.
Converts this signal to signal of B
by applying f
.
Predicates the supplied effect f
on this Signal
being true
.
Predicates the supplied effect f
on this Signal
being true
.