Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NosqlWaiter

Hierarchy

  • NosqlWaiter

Constructors

Properties

Methods

Constructors

constructor

Properties

Private client

client: NosqlClient

Private Optional Readonly config

Methods

forIndex

  • Waits forIndex till it reaches any of the provided states

    Parameters

    • request: GetIndexRequest

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

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

forTable

  • Waits forTable till it reaches any of the provided states

    Parameters

    • request: GetTableRequest

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

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

forWorkRequest