RunningOperation interface

Description of a long running operation.

Properties

sendInitialRequest

A function that can be used to send initial request to the service.

sendPollRequest

A function that can be used to poll for the current status of a long running operation.

Property Details

sendInitialRequest

A function that can be used to send initial request to the service.

sendInitialRequest: () => Promise<OperationResponse<unknown, RawRequest>>

Property Value

() => Promise<OperationResponse<unknown, RawRequest>>

sendPollRequest

A function that can be used to poll for the current status of a long running operation.

sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => Promise<OperationResponse<T, RawRequest>>

Property Value

(path: string, options?: { abortSignal?: AbortSignalLike }) => Promise<OperationResponse<T, RawRequest>>