A11 TypeScript API - v0.7.0
    Preparing search index...

    Class NodeMap

    Registry of lazily created AsyncNodes keyed by stable node id.

    Sessions share a NodeMap so fragments arriving before or after an action port is opened converge on the same store and node object. The factory is the persistence extension point: use an in-memory store locally or inject a distributed store when several agent processes must share stream state.

    Index
    • Whether a node already exists without invoking the factory.

      Parameters

      • nodeId: string

      Returns boolean