コード例 #1
0
 public override ValueTask <Response <T> > WaitForCompletionAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(cancellationToken);
コード例 #2
0
 public override ValueTask <Response <CreateDataFlowDebugSessionResponse> > WaitForCompletionAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(cancellationToken);
コード例 #3
0
 /// <summary>
 /// Periodically calls the server till the long-running operation completes.
 /// </summary>
 /// <param name="cancellationToken">A <see cref="CancellationToken"/> used for the periodical service calls.</param>
 /// <returns>The last HTTP response received from the server.</returns>
 /// <remarks>
 /// This method will periodically call UpdateStatusAsync till HasCompleted is true, then return the final result of the operation.
 /// </remarks>
 public override async ValueTask <Response <RecognizedFormCollection> > WaitForCompletionAsync(CancellationToken cancellationToken = default) =>
 await _operationInternal.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false);
コード例 #4
0
 public override ValueTask <Response <SparkConfigurationResource> > WaitForCompletionAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(cancellationToken);
コード例 #5
0
 /// <summary>
 /// Periodically calls the server till the long-running operation completes.
 /// </summary>
 /// <param name="cancellationToken">A <see cref="CancellationToken"/> used for the periodical service calls.</param>
 /// <returns>The last HTTP response received from the server.</returns>
 /// <remarks>
 /// This method will periodically call UpdateStatusAsync till HasCompleted is true, then return the final result of the operation.
 /// </remarks>
 public override async ValueTask <Response <AsyncPageable <AnalyzeActionsResult> > > WaitForCompletionAsync(CancellationToken cancellationToken = default) =>
 await _operationInternal.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false);
コード例 #6
0
 /// <summary>
 /// Periodically calls the server till the long-running operation completes.
 /// </summary>
 /// <param name="cancellationToken">A <see cref="CancellationToken"/> used for the periodical service calls.</param>
 /// <returns>The last HTTP response received from the server.</returns>
 /// <remarks>
 /// This method will periodically call UpdateStatusAsync till HasCompleted is true.
 /// An API call is then made to retrieve the status of the documents.
 /// </remarks>
 public override async ValueTask <Response <AsyncPageable <DocumentStatusResult> > > WaitForCompletionAsync(CancellationToken cancellationToken = default) =>
 await _operationInternal.WaitForCompletionAsync(DefaultPollingInterval, cancellationToken).ConfigureAwait(false);
コード例 #7
0
 /// <summary>
 /// Periodically calls the server till the long-running operation completes.
 /// </summary>
 /// <param name="cancellationToken">A <see cref="CancellationToken"/> used for the periodical service calls.</param>
 /// <returns>The last HTTP response received from the server.</returns>
 /// <remarks>
 /// This method will periodically call UpdateStatusAsync till HasCompleted is true, then return the final result of the operation.
 /// </remarks>
 public override async ValueTask <Response <DocumentModel> > WaitForCompletionAsync(CancellationToken cancellationToken = default) =>
 await _operationInternal.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false);
コード例 #8
0
 public override ValueTask <Response <TriggerSubscriptionOperationStatus> > WaitForCompletionAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(cancellationToken);