Skip to content
rs-xrs-x
  • Features
  • Docs
  • Roadmap
  • Sponsor
  • Playground
    • GitHub
    • Report issue
    • npm
Get started
  • Features
  • Docs
  • Roadmap
  • Sponsor
  • Playground
  • Community
  • GitHub
  • Report issue
  • npm
Docs / @rs-x/state-manager API / State runtime / state-manager

State manager module

state-manager

API entries in this module: 14.

Module entries

  • IChangeCycleIndexinterfaceCycle payload emitted by start/end change-cycle streams, identifying `(context, index)` being processed.
  • IContextChangedinterfacePayload emitted when a watched index is rebound from one context object to another.
  • IObjectStateManagerinterfaceInterface exported from state-manager.
  • IStateinterfaceInterface exported from state-manager.
  • IStateChangeinterfacePayload emitted when a watched state index changes.
  • IStateEventListenerinterfaceKeyed callback listener for state and context rebind notifications.
  • IStateForObjectManagerinterfaceInterface exported from state-manager.
  • IStateManagerinterfaceMain state manager contract used by expression runtime services.
  • IStateOptionsinterfaceWatch options for ownerId, recursive indexWatchRule configuration, and initial emit suppression.
  • IValueKeyinterfaceInterface exported from state-manager.
  • IValueWithKeyinterfaceInterface exported from state-manager.
  • ObjectStateManagerclassStores tracked state per context/index with cloned old-value snapshots.
  • StateForObjectManagerclassPer-context state container with reference-counted state entries.
  • StateManagerclassDefault runtime implementation that tracks watched state and emits changed/contextChanged cycles.
rs-x

Declarative reactive framework: make reactivity simple.

Product

  • Features
  • Docs
  • Roadmap
  • Sponsor
  • Playground

Community

  • GitHub
  • Report issue
  • npm
  • LinkedIn
  • Email

Support

  • Become a sponsor
  • Vote on roadmap priorities
  • About me