public virtual async ValueTask <Response <T> > WaitForCompletionAsync(CancellationToken cancellationToken = default) { OperationPoller poller = new OperationPoller(); return(await poller.WaitForCompletionAsync(this, null, cancellationToken).ConfigureAwait(false)); }
public virtual async ValueTask <Response <T> > WaitForCompletionAsync(TimeSpan pollingInterval, CancellationToken cancellationToken) { OperationPoller poller = new OperationPoller(); return(await poller.WaitForCompletionAsync(this, pollingInterval, cancellationToken).ConfigureAwait(false)); }