Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventsWaiter

Hierarchy

  • EventsWaiter

Constructors

Properties

Methods

Constructors

constructor

Properties

Private client

client: EventsClient

Private Optional config

Methods

forRule

  • Waits forRule till it reaches any of the provided states

    Parameters

    • request: GetRuleRequest

      the request to send

    • Rest ...targetStates: LifecycleState[]

      the desired states to wait for. The waiter will return once the resource reaches any of the provided states

    Returns Promise<GetRuleResponse | null>

    response returns GetRuleResponse | null (null in case of 404 response)