Options for createPoller
.
Configurations for how to poll the operation and to check whether it has terminated.
OperationResponseThe type of the response of a LRO.
OperationStateWhile the poller works as the local control mechanism to start triggering and wait for a long-running operation, OperationState documents the status of the remote long-running operation. It gets updated after each poll.
PollerLikeA poller for an operation.
RawRequestSimple type of the raw request.
RawResponseSimple type of the raw response.
RunningOperationDescription of a long running operation.
Type Aliases CancelOnProgressCancelOnProgress is used as the return value of a Poller's onProgress method. When a user invokes onProgress, they're required to pass in a function that will be called as a callback with the new data received each time the poll operation is updated. onProgress returns a function that will prevent any further update to reach the original callback.
OperationStatusThe set of possible states an operation can be in at any given time.
ResourceLocationConfigThe potential location of the result of the LRO if specified by the LRO extension in the swagger.
RestorableOperationStateType of a restorable long-running operation.
Function Details createHttpPoller<TResult, TState>(RunningOperation<unknown>, CreateHttpPollerOptions<TResult, TState>)Creates a poller that can be used to poll a long-running operation.
function createHttpPoller<TResult, TState>(lro: RunningOperation<unknown>, options?: CreateHttpPollerOptions<TResult, TState>): PollerLike<TState, TResult>
Parameters Returns
PollerLike<TState, TResult>
an initialized poller
deserializeState<TResult, TState>(string)Deserializes the state
function deserializeState<TResult, TState>(serializedState: string): RestorableOperationState<TResult, TState>
Parameters Returns
RestorableOperationState<TResult, TState>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4