- This function clears the specified session and removes any associated key pairs from storage.
- If a sessionKey is provided, it logs out from that session; otherwise, it logs out from the active session.
- Cleans up any api keys associated with the session.
Package: core
Defined in: clients/core.ts:397
A promise that resolves when the logout process is complete.