Operation<T>
Represents a long-running operation that returns a value when it completes.
Returns true if the long-running operation completed successfully and has produced final result (accessible by Value property).
Final result of the long-running operation.
protected Operation()
Periodically calls the server till the long-running operation completes.
public virtual Response<T> WaitForCompletion(TimeSpan pollingInterval, CancellationToken cancellationToken)
Periodically calls the server till the long-running operation completes.
public virtual Response<T> WaitForCompletion(DelayStrategy delayStrategy, CancellationToken cancellationToken)
Periodically calls the server till the long-running operation completes.
public virtual ValueTask<Response<T>> WaitForCompletionAsync(CancellationToken cancellationToken = default)
Periodically calls the server till the long-running operation completes.
public virtual ValueTask<Response<T>> WaitForCompletionAsync(TimeSpan pollingInterval, CancellationToken cancellationToken)
Periodically calls the server till the long-running operation completes.
public virtual ValueTask<Response<T>> WaitForCompletionAsync(DelayStrategy delayStrategy, CancellationToken cancellationToken)
Periodically calls the server till the long-running operation completes.