Skip to main content

SignalContext

SignalContext is the internal implementation of signals, providing low-level state management.

Properties

PropertyTypeDescription
currentTCurrent value
initialTInitial value

Methods

set(value: SignalValue<T>): TOwner

Sets the signal value and returns the owner object.

get(): T

Gets the current value.

reset(): void

Resets to the initial value.