Home Reference Source


import {Enum} from '../utils/Enum';

 * Enum containing the possible status of a session. Possible values:
 * - UNCONNECTED: The session has not attempted to connect.
 * - CONNECTING: The session is in the process of being established.
 * - CONNECTED: The session is connected to the server.
 * - SUSPENDED: The session is in a connected state but the underlying channel is allowed to be closed.
 * - DISCONNECTED: The session is ended and should no longer be used.
 * @type {Enum}
export const SessionStatus = new Enum([