Overview
Retrieves the active session key currently set in persistent storage.- This function fetches the session key that is currently marked as active in the client’s persistent storage.
- The active session key determines which session is used for all session-dependent operations.
- If no active session key is set, returns
undefined
. - Useful for determining which session is currently in use, especially when managing multiple sessions.
Package: core
Defined in: core.ts:4050
Parameters
No parameters.
Response
A successful response returns the following fields:A promise that resolves to the active session key as a string, or
undefined
if no active session is set.