The state of the operation.
It will be used to store the basic properties of PollOperationState
Attempts to cancel the underlying operation.
It only optionally receives an object with an abortSignal property, from @azure/abort-controller's AbortSignalLike.
It returns a promise that should be resolved with an updated version of the poller's operation.
Optional properties passed to the operation's update method.
Serializes the operation. Useful when wanting to create a poller that monitors an existing operation.
Defines how to request the remote service for updates on the status of the long running operation.
It optionally receives an object with an abortSignal property, from @azure/abort-controller's AbortSignalLike. Also optionally receives a "fireProgress" function, which, if called, is responsible for triggering the poller's onProgress callbacks.
Optional properties passed to the operation's update method.
Generated using TypeDoc
PollOperation is an interface that defines how to update the local reference of the state of the remote long running operation, just as well as how to request the cancellation of the same operation.
It also has a method to serialize the operation so that it can be stored and resumed at any time.