Overview
Sets the active session to the specified session key.- This function updates the
activeSessionKey
in persistent storage to the specified session key. - Ensures that subsequent operations use the session associated with this key as the active session.
- Does not validate whether the session key exists or is valid; it simply updates the pointer.
- Useful for switching between multiple stored sessions or restoring a previous session context.
Package: core
Defined in: core.ts:4026
Parameters
Response
A successful response returns the following fields:A promise that resolves when the active session key is successfully set.