LeadershipService implements a variant of leadership.Claimer for consumption over the API.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "LeadershipService"
VERSION: number = 2
_transport: Transport
NAME: string = "LeadershipService"
VERSION: number = 2

Methods

  • BlockUntilLeadershipReleased blocks the caller until leadership is released for the given service.

    Parameters

    Returns Promise<ErrorResult>

Generated using TypeDoc