Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OdaWaiter

Hierarchy

  • OdaWaiter

Constructors

constructor

Properties

Private client

client: OdaClient

Private Optional Readonly config

Methods

forOdaInstance

  • Waits forOdaInstance till it reaches any of the provided states

    Parameters

    • request: GetOdaInstanceRequest

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

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

forOdaInstanceAttachment

forWorkRequest