Interface: ReconnectingOptions
Defined in: netconf/src/reconnect.ts:42
What reconnecting() adds to the options of connect().
Extended by
Properties
onRetry?
ts
readonly onRetry?: (info) => void;Defined in: netconf/src/reconnect.ts:46
Called before each wait. A listener that throws is ignored.
Parameters
info
Returns
void
retry?
ts
readonly retry?: RetryOptions;Defined in: netconf/src/reconnect.ts:44
How long to wait between attempts.
signal?
ts
readonly signal?: AbortSignal;Defined in: netconf/src/reconnect.ts:48
Stop reconnecting: closes the current client, and ends the iteration without an error.