Skip to content

IDurableTaskManager.SignalAsync(string, DurableSignal<T>, T, CancellationToken)

SignalAsync(string, DurableSignal<T>, T, CancellationToken)

virtual
View source
public virtual ValueTask SignalAsync<T>(string rootId, DurableSignal<T> signal, T value, CancellationToken cancellationToken = default(CancellationToken))
Delivers signal with value to the invoked root task rootId of this grain.

Parameters

rootIdstring
The root task's identifier, as passed to TaskId.
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.