Readonly
DeputyReadonly
DeputyThe DeputyPageSession handles session functions for a page that is the subject of a Deputy session. This object handles things such as synchronicity between the root tab and the page toolbar, interface handling, etc.
The DeputyRootSession handles session functions for the root tab. The separation between DeputySession and DeputyRootSession is made to confine session-mutating functions within the root tab only.
Gets the current active session information. Session mutation functions (besides
clearSession
) are only available in DeputyRootSession.
A promise that resolves with the session information or undefined
if session
information is not available.
Handles the active Deputy session.
A "Session" is a period wherein Deputy exercises a majority of its features, namely the use of inter-tab communication and database transactions for page and revision caching. Other tabs that load Deputy will recognize the started session and begin communicating with the root tab (the tab with the CCI page, and therefore the main Deputy session handler, open). The handler for root tab session activities is DeputyRootSession.