Creates a reactive variable (RV), allowing value retrieval, updates, and subscriptions.
The type of the stored value.
The initial value of the reactive variable.
Optional
options: RvInitOptions<T>Optional configuration for the reactive variable.
A reactive variable function that allows getting, setting, and listening for updates.
Creates a reactive variable from an initializer function. The function is immediately executed to determine the initial value.
The type of the stored value.
A function that returns the initial value.
Optional
options: RvInitOptions<T>Optional configuration for equality comparison and event listeners.
A reactive variable function.
A factory function for creating reactive variables.