Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PollerLike<TState, TResult>

Package version

Type parameters

  • TState

  • TResult

Hierarchy

  • PollerLike

Implemented by

Index

Methods

cancelOperation

  • cancelOperation(options?: undefined | object): Promise<void>
  • Parameters

    • Optional options: undefined | object

    Returns Promise<void>

getOperationState

getResult

  • getResult(): TResult | undefined
  • Returns TResult | undefined

isDone

  • isDone(): boolean
  • Returns boolean

isStopped

  • isStopped(): boolean
  • Returns boolean

onProgress

  • Parameters

    • callback: function
        • (state: TState): void
        • Parameters

          • state: TState

          Returns void

    Returns CancelOnProgress

poll

  • poll(options?: undefined | object): Promise<void>
  • Parameters

    • Optional options: undefined | object

    Returns Promise<void>

pollUntilDone

  • pollUntilDone(): Promise<TResult>
  • Returns Promise<TResult>

stopPolling

  • stopPolling(): void
  • Returns void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc