S

Loading…

Variable

SinterClientState

The lifecycle states of a SinterClient.

A client moves from new to connecting to connected, and finally to closing and closed. A failed connection attempt returns it to new, so connect() can be called again. A closed client cannot be reused.

const SinterClientState: {
  readonly Closed: "closed";
  readonly Closing: "closing";
  readonly Connected: "connected";
  readonly Connecting: "connecting";
  readonly New: "new";
}

Defined in packages/driver/src/client.ts:125, packages/driver/src/client.ts:139

Properties#

Used by#