MemoGrafter
suppressTopic()
Use suppressTopic with an application-managed session scope.
What it does
Use suppressTopic with an application-managed session scope.
Suppression hides a topic and its attached active memory from normal retrieval without deleting graph history.
Signature
TypeScript
suppressTopic(topicId: string): Promise<boolean>Parameters
topicId (string) — The topic to change.Result
true when the requested state changed; false when the target was already in that state or was not found.
Example
example.ts
const result = await memo.suppressTopic(/* identifiers and options */);