Skip to content

Signals

The signals that hold a value the interface follows, the typed signals and collections, the derived signals computed from them, and the bindings that tie them to nodes and controls. Learn: Signals, Derived values, Rebuilding the tree, How signals work.

TypeKindSummary
BooleanSignalclassSignal of a boolean, for a state that is on or off.
ComputedSignalclassRead-only signal whose value comes from a function of other signals, computed again only after one of them changed.
DoubleSignalclassSignal of a double with arithmetic that writes its result, for positions, amounts and measures.
FloatSignalclassSignal of a float with arithmetic that writes its result, for ratios, progress and sizes.
IntegerSignalclassSignal of an int with arithmetic that writes its result, for counters, scores and indexes.
InteractiveValueclassValue of a node that both the code and the user change, with its bounds, its events and its two-way binding to a signal.
ListSignalclassSignal of a list, changed through its own methods so that every change notifies the nodes and listeners that follow it.
LongSignalclassSignal of a long with arithmetic that writes its result, for large counts, sizes and timestamps.
MapSignalclassSignal of a map that keeps the insertion order of its keys, changed through its own methods so that every change notifies its followers.
NodeBindingsclassSignal bindings, followed suppliers, watches and queued events of one node or one UI.
SetSignalclassSignal of a set that keeps the insertion order, changed through its own methods so that every change notifies its followers.
SignalclassHolds a value that nodes, derived signals and listeners follow, so the interface shows each change without rebuilding.
SignalContextclassPer-thread state of the signal engine: batches, silence, read tracking and the queue of notifications.
SignalReplayclassEntry point of the replay that turns a plain value passed to a setter into a signal that follows the signals its expression read.
SignalReplayBindingclassSupplier that computes again, from bytecode, the argument of one setter call after the signals it read change.
SignalReplayCallclassOne setter call in the code of the application: the line of the caller and the name of the setter.
SignalReplayClassclassBytecode of one class of the application, read once for the replay, with the analyses of its methods.
SignalReplayExceptionclassReason why the replay cannot follow an expression, with the advice that the dev warning prints.
SignalReplayFailureenumKinds of expression that the replay cannot follow, each with its reason and its advice.
SignalReplayFrameclassInterpreter that runs the instructions of one expression of the bytecode with the current values of fields and signals.
SignalReplayMatchclassResult of matching one slice of bytecode against the value a setter received and the signals read before it.
SignalReplayMethodclassAnalysis of one method of the bytecode: frames, instructions, local variables and the expressions that define them.
SignalReplayPartsclassText of a concatenation whose parts are known values and holes left by local variables.
SignalReplayRunclassOne execution of a slice of bytecode, during the match or during a replay, with the signals it reads.
SignalReplaySiteclassEvery argument expression of one setter call on one line, analysed once and kept for the next replays.
SignalReplaySliceclassInstructions of the bytecode that compute one argument of a setter call.
SignalReplayUnknownclassValue that the replay cannot compute, such as a local variable whose value it does not know.
StringSignalclassSignal of a String with the text operations of String, which write their result.
WatchPropertyinterfaceAction that Node.watch(...) runs on its node each time the watched signal changes.

Nested types and listeners that the main types use.

TypeKindSummary
SignalListenerinterfaceReceives the value of a signal after each change.

Report a problem with this page