index.SignalImpl
Concrete implementation of a mutable reactive signal container.
| Name | Description |
|---|---|
T |
The type of value held by the signal. |
Signal<T>new SignalImpl<T>(initialValue)
| Name |
|---|
T |
| Name | Type |
|---|---|
initialValue |
T |
Private _raw: Object
| Name | Type |
|---|---|
value |
T |
get [IS_REACTIVE](): boolean
Reactivity flag indicating this container is a reactive primitive.
boolean
get [RAW_TARGET](): Object
Returns the underlying unproxied raw container object for non-tracking reads.
Object
| Name | Type |
|---|---|
value |
T |
get value(): T
Reads the current signal value and records a dependency edge in the active reactive context.
T
set value(nextValue): void
Updates the signal value and triggers notifications to dependent subscribers if the value changed.
| Name | Type |
|---|---|
nextValue |
T |
void