Skip to content

DurableTaskContext.WaitForSignalAsync(string, CancellationToken)

WaitForSignalAsync(string, CancellationToken)

virtual
View source
protected internal virtual ValueTask<DurableTaskResponse> WaitForSignalAsync(string name, CancellationToken cancellationToken)
Waits for the signal named name of the invoked task whose execution contains this execution, and returns a successful response holding the signal's recorded value.

Parameters

namestring
cancellationTokenCancellationToken