Start and stop notification callbacks. This function is called when the first subscriber subscribes.
Function that sets the value of the store.
Function that sets the value of the store after passing the current value to the update function.
Optionally, a cleanup function that is called when the last remaining subscriber unsubscribes.
Start and stop notification callbacks. This function is called when the first subscriber subscribes.