signal
function
Create a Signal
that can be set or updated directly.
API
function signal<T>( initialValue: T, options?: CreateSignalOptions<T> | undefined): WritableSignal<T>;
signal
Jump to details
Create a Signal
that can be set or updated directly.
function signal<T>( initialValue: T, options?: CreateSignalOptions<T> | undefined): WritableSignal<T>;