UNPKG

@synet/patterns

Version:

Robust, battle-tested collection of stable patterns used in Synet packages

15 lines (14 loc) 489 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ChannelState = void 0; /** * State of a realtime channel */ var ChannelState; (function (ChannelState) { ChannelState["CONNECTING"] = "connecting"; ChannelState["CONNECTED"] = "connected"; ChannelState["DISCONNECTING"] = "disconnecting"; ChannelState["DISCONNECTED"] = "disconnected"; ChannelState["ERROR"] = "error"; })(ChannelState || (exports.ChannelState = ChannelState = {}));