Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QueueAdminWaiter

Hierarchy

  • QueueAdminWaiter

Constructors

Properties

Methods

Constructors

constructor

Properties

Private client

Private Optional Readonly config

Methods

forQueue

  • Waits forQueue till it reaches any of the provided states

    Parameters

    • request: GetQueueRequest

      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<GetQueueResponse | null>

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

forWorkRequest