Skip to content

DurableTaskReference<TResult>.GetResponseAsync(CancellationToken)

GetResponseAsync(CancellationToken)

View source
public Task<DurableTaskResponse> GetResponseAsync(CancellationToken cancellationToken = default(CancellationToken))
Waits for the task's terminal response.

Parameters

cancellationTokenCancellationToken
A token which abandons the wait. It doesn't cancel the task.

Exceptions

Orleans.Durable.Tasks.DurableTaskNotFoundException
The grain retains no task with this identifier.