Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FormTrainingPollOperationOptions<TState>

Package version

Options for configuring long-running operations.

Type parameters

  • TState: PollOperationState<unknown>

Hierarchy

  • FormTrainingPollOperationOptions

Index

Properties

Optional onProgress

onProgress: undefined | ((state: TState) => void)

Progress handler. The Poller will call this handler with the operation state after polling.

Optional resumeFrom

resumeFrom: undefined | string

State of a previously-serialized poller to resume an operation.

The state can be obtained from a poller using poller.toString().

Optional updateIntervalInMs

updateIntervalInMs: undefined | number

Interval (in milliseconds) between requests for status updates on the operation.

Generated using TypeDoc