Skip to main content

core.options

Home > @medplum/core > Options

Options type

Signature:

export type Options<WS extends IWebSocket = WebSocket> = {
WebSocket?: any;
binaryType?: WS['binaryType'];
maxReconnectionDelay?: number;
minReconnectionDelay?: number;
reconnectionDelayGrowFactor?: number;
minUptime?: number;
connectionTimeout?: number;
maxRetries?: number;
maxEnqueuedMessages?: number;
startClosed?: boolean;
debug?: boolean;
debugLogger?: (...args: any[]) => void;
};

References: IWebSocket