ConstRemove a key from the shared state store.
Read a value from the cross-window shared state store by key.
List keys in the shared state store matching an optional glob pattern.
Subscribe to shared state change events. Returns an unsubscribe function.
Subscribe to shared state deletion events. Returns an unsubscribe function.
ttlMs is the lifetime in milliseconds. null is not a value; remove a
key with sharedState.delete instead.
sharedState— cross-window key/value state store.Distinct from state (the reactive playback mirror): this is a shared persistent / TTL-bound key/value bag with change events. Events use the
state:*colon namespace.