OperationState interface
While 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.
Properties
error | Will exist if the operation encountered any error. |
result | Will exist if the operation produced a result of the expected type. |
status | The current status of the operation. |
Property Details
error
Will exist if the operation encountered any error.
error?: Error
Property Value
Error
result
Will exist if the operation produced a result of the expected type.
result?: TResult
Property Value
TResult
status
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript