Signal<T> class

Reactive signal (source node in graph) Push-based propagation system Subscribers are Effects & Computeds (via ReactiveNode) OR Callbacks (via Mixins)

Implemented types

Constructors

Signal(T _value, {String? debugLabel})

Properties

debugLabel String?
Optional human-readable label for debugging/logging.
final
hashCode int
The hash code for this object.
no setterinherited
id int
Unique id, used for log messages.
final
label String
Public accessor for _label, used by other libraries (e.g. ReactiveList) that want to include this signal's identity in logs.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ← T
no getter

Methods

addSubscriber(ReactiveNode node) → void
override
call() → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
peek() → T
removeSubscriber(ReactiveNode node) → void
override
subscribeCallback(void callback(T)) → void
toString() String
A string representation of this object.
override
unsubscribeCallback(void callback(T)) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited