Class

ClientCluster

Extends EventEmitter

Constructor

new ClientCluster(options: ClientClusterOptions)

Properties

NameTypeDescription
sizeread-onlynumberNumber of managed runtimes (including those still connecting).

Methods

.destroy()

→ Promise<void>

await clientCluster.destroy();

.has(id)

id: string → boolean

clientCluster.has(id);

.remove(id)

id: string → Promise<boolean>

await clientCluster.remove(id);