You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our TypeSpec code generator already supports the creation of rehydration tokens to retrieve the status of long-running operations, but the logic to do so has not been wired into our Operation API yet. Once this issue is addressed, the following piece of code is expected to work when rehydrating an operation with return value T:
// Store the rehydration token for later.RehydrationTokentoken=operation.GetRehydrationToken().Value;// Restore the operation with the rehydration token.Operation<T>operation=Operation.Rehydrate<T>(client.Pipeline,token);
The text was updated successfully, but these errors were encountered:
Our TypeSpec code generator already supports the creation of rehydration tokens to retrieve the status of long-running operations, but the logic to do so has not been wired into our
Operation
API yet. Once this issue is addressed, the following piece of code is expected to work when rehydrating an operation with return valueT
:The text was updated successfully, but these errors were encountered: