コード例 #1
0
        public virtual async ValueTask <Response <T> > WaitForCompletionAsync(CancellationToken cancellationToken = default)
        {
            OperationPoller poller = new OperationPoller();

            return(await poller.WaitForCompletionAsync(this, null, cancellationToken).ConfigureAwait(false));
        }
コード例 #2
0
        public virtual async ValueTask <Response <T> > WaitForCompletionAsync(TimeSpan pollingInterval, CancellationToken cancellationToken)
        {
            OperationPoller poller = new OperationPoller();

            return(await poller.WaitForCompletionAsync(this, pollingInterval, cancellationToken).ConfigureAwait(false));
        }