Skip to main content

Signal

Type Parameters

Callable

Parameters

Properties​

context​

Methods​

isInitial​

public isInitial(): boolean

Check if the signal is currently using its initial value.


reset​

public reset(): TOwner

Reset the signal to its initial value (if one has been set).


save​

public save(): TOwner

Compute the current value of the signal and immediately set it.

This method can be used to stop the signal from updating while keeping its current value.