Skip to content

Function: reconnecting() ​

ts
function reconnecting<E>(options): Reconnecting<NetconfClient<OpsMap<E>, ContentMap<E>>>;

Defined in: netconf/src/index.ts:58

Connect, and connect again with backoff each time the session is lost, for as long as you iterate. The same as @node-net/netconf/core's reconnecting(), with Node's YANG directory reading (see connect). See Reconnecting.

Type Parameters ​

E ​

E extends readonly Extension<string, object, object>[] = []

Parameters ​

options ​

ReconnectOptions<E>

Returns ​

Reconnecting<NetconfClient<OpsMap<E>, ContentMap<E>>>

Released under the MIT Licence.