@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Class MemoryCoordinationHub

    Shared state of the replicas of one in-process cluster: pass the same hub to every MemoryCoordinator that should coordinate with the others.

    Index
    • Parameters

      • opts: { maxIdleKeys?: number } = {}
        • OptionalmaxIdleKeys?: number

          Idle chats kept (least recently used evicted first). Default 10_000; Infinity keeps them all (the old behaviour). The chat being used is never evicted, so 0 keeps only the most recently used idle chat.

      Returns MemoryCoordinationHub