Signal

trait Signal[F <: ([_$1] =>> Any), A]
Pure holder of a single value of type A that can be read in the effect F.
Companion
object
class Object
trait Matchable
class Any
class SignallingRef[F, A]

Value members

Methods

def discrete: Stream[F, A]
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 instead.
Returns a stream of the current value of the signal. An element is always
available -- on each pull, the current value is supplied.
def get: F[A]
Asynchronously gets the current value of this Signal.