Skip to main content
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

Returns None.

Example

Raises

This method does not raise SDK errors. See Error Codes for the full SDK exception hierarchy.

See also