MCPcopy
hub / github.com/plotly/dash / WebSocketConfig

Interface WebSocketConfig

@plotly/dash-websocket-worker/src/WebSocketManager.ts:13–26  ·  view source on GitHub ↗

* Configuration options for WebSocket connection.

Source from the content-addressed store, hash-verified

11 * Configuration options for WebSocket connection.
12 */
13interface WebSocketConfig {
14 /** Maximum number of reconnection attempts */
15 maxRetries: number;
16 /** Initial delay between reconnection attempts (ms) */
17 initialRetryDelay: number;
18 /** Maximum delay between reconnection attempts (ms) */
19 maxRetryDelay: number;
20 /** Heartbeat interval (ms) */
21 heartbeatInterval: number;
22 /** Heartbeat timeout (ms) */
23 heartbeatTimeout: number;
24 /** Inactivity timeout (ms) - 0 to disable */
25 inactivityTimeout: number;
26}
27
28const DEFAULT_CONFIG: WebSocketConfig = {
29 maxRetries: 10,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…