Home Reference Source


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

 * Enum containing the possible states of a datapipe. Possible values:
 * - CONNECTING: pipe has initiated an attempt to connect to remote parties.
 * - CONNECTED: pipe is connected and ready to send/receive data.
 * - REJECTED: an attempt to connect a pipe is explicitly rejected by the remote party..
 * - DISCONNECTED: pipe is disconnected.
 * @type {Enum}
export const DataPipeStatus = Enum([