index.Signal
Interface representing a mutable reactive signal container.
Remarks
A Signal wraps a value in a reactive container. Accessing the .value property
inside a reactive context (such as an effect or computed) registers a dependency edge.
Assigning a new value to .value triggers reactive invalidation across all downstream consumers.
Example
| Name | Description |
|---|---|
T |
The type of value stored within the signal. |
value: T
The current value of the signal.
Reading this property establishes a dependency in the active reactive context. Modifying this property triggers updates in all subscribers.