Documentation Index
Fetch the complete documentation index at: https://docs.maximem.ai/llms.txt
Use this file to discover all available pages before exploring further.
clear() wipes the SDK’s in-process cache — every scope, every user, every customer. This affects only the local cache layer; durable memory stored on the Synap platform is untouched. The cache repopulates lazily on subsequent fetch() calls. Useful in tests, in long-running processes that need to drop stale entries, or when you want to force a fresh round-trip to the platform.
This is a synchronous method — no await.
Parameters
This method takes no parameters.Returns
ReturnsNone.
Example
Raises
This method does not raise SDK errors. See Error Codes for the full SDK exception hierarchy.See also
- cache.clear_user — drop one user’s cached data (GDPR).
- cache.clear_customer — drop one customer’s cached data.
- cache.stats — inspect hit rate and entry counts.