UNPKG

@seriousme/opifex

Version:

MQTT client & server for Deno & NodeJS

21 lines 797 B
/** * @description Object representing possible connection states * @readonly */ export declare const ConnectionState: { /** System is offline and not attempting connection */ readonly offline: "offline"; /** System is in the process of establishing a connection */ readonly connecting: "connecting"; /** System has an active connection */ readonly connected: "connected"; /** System is in the process of disconnecting */ readonly disconnecting: "disconnecting"; /** System has been disconnected */ readonly disconnected: "disconnected"; }; /** * @description Type representing the possible values of ConnectionState */ export type TConnectionState = (typeof ConnectionState)[keyof typeof ConnectionState]; //# sourceMappingURL=ConnectionState.d.ts.map