Options
All
  • Public
  • Public/Protected
  • All
Menu

The WatchManager is a singleton that exists in namespaces to handle watching multiple keys in a single GRPC stream. The underlying stream will only be alive if there's at least one watcher.

This class is not exposed externally.

Hierarchy

  • WatchManager

Index

Constructors

Methods

Constructors

constructor

Methods

attach

  • Attach registers the watcher on the connection.

    Parameters

    Returns void

detach

  • detach(watcher: Watcher): Promise<void>
  • Detaches a watcher from the connection.

    Parameters

    Returns Promise<void>

Legend

  • Constructor
  • Method
  • Inherited method

Generated using TypeDoc