MemoGrafterAgent
close()
Release database, Redis, and queue resources owned by the agent.
What it does
Release database, Redis, and queue resources owned by the agent.
The operation is scoped to the agent’s current session, so callers do not pass a session identifier on every call.
Signature
TypeScript
close(): Promise<void>Example
example.ts
await agent.close();