Constructors
Constructor
Parameters
Returns
MemoryCoordinationHub
Accessors
maxIdleKeys
Get Signature
Returns
number
size
Get Signature
Returns
numberDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Class exported by @botmesh/core/testing.
new MemoryCoordinationHub(opts?): MemoryCoordinationHub;
| Parameter | Type | Description |
|---|---|---|
opts? | { maxIdleKeys?: number; } | - |
opts.maxIdleKeys? | 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. |
MemoryCoordinationHub
get maxIdleKeys(): number;
number
get size(): number;
number