SignalAsync(TaskId, DurableSignal<T>, T, CancellationToken)
abstract
public abstract ValueTask SignalAsync<T>(TaskId taskId, DurableSignal<T> signal, T value, CancellationToken cancellationToken = default(CancellationToken))Delivers
signal with value to an invoked task of this grain.Parameters
taskIdTaskId- The identifier of a task which a client or another grain invoked on this grain.
signalDurableSignal<T>- The signal descriptor which the task's waits share.
valueT- The signal's value.
cancellationTokenCancellationToken- A token which abandons waiting for the signal to commit.
Returns
An operation which completes once the signal commits with this grain's pending state changes.
Exceptions
Orleans.Durable.Tasks.DurableTaskNotFoundException- This grain retains no invoked task
taskId. System.InvalidOperationException- The task holds a different value for the signal, or it is terminal and holds no value for the signal.
