RunOperationState interface
Operation state for a long-running operation that creates a run resource.
CUSTOMIZATION: SDK-IMPROVEMENT: the emitted poller resolves to the run's terminal result
payload, which carries no identifier; runId keeps the created run reachable.
- Extends
-
OperationState<TResult>
Properties
| run |
Server-assigned id of the created run. Available once |
Inherited 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
runId
Server-assigned id of the created run. Available once submitted() resolves.
runId?: string
Property Value
string
Inherited Property Details
error
Will exist if the operation encountered any error.
error?: Error
Property Value
Error
Inherited From OperationState.error
result
Will exist if the operation produced a result of the expected type.
result?: TResult
Property Value
TResult
Inherited From OperationState.result
status
The current status of the operation.
status: OperationStatus
Property Value
Inherited From OperationState.status