MCPcopy
hub / github.com/socketio/socket.io / reconnectionDelay

Method reconnectionDelay

packages/socket.io-client/lib/manager.ts:236–241  ·  view source on GitHub ↗
(v?: number)

Source from the content-addressed store, hash-verified

234 public reconnectionDelay(): number;
235 public reconnectionDelay(v?: number): this | number;
236 public reconnectionDelay(v?: number): this | number {
237 if (v === undefined) return this._reconnectionDelay;
238 this._reconnectionDelay = v;
239 this.backoff?.setMin(v);
240 return this;
241 }
242
243 /**
244 * Sets the randomization factor

Callers 2

constructorMethod · 0.95
connection.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected