@camunda8/sdk
Version:
[](https://www.npmjs.com/package/@camunda8/sdk)
20 lines (19 loc) • 825 B
TypeScript
export declare const ConnectionStatusEvent: {
close: "close";
/** This is a latched error event. It will fire once to signal the start of a error state. */
connectionError: "connectionError";
ready: "ready";
unknown: "unknown";
/** The worker is applying a backoff. The duration of the backoff in ms is passed as a parameter to any listener */
backoff: "backoff";
/** This is an unlatched error event. It will fire multiple times when an error state is encountered. */
streamError: "streamError";
};
export type ConnectionStatusEventMap = {
close: void;
[]: void;
[]: void;
[]: void;
[]: number;
[]: Error;
};