Skip to content

DurableTaskContext.SelectCompletionAsync(TaskId, IReadOnlyList<TaskId>, CancellationToken)

SelectCompletionAsync(TaskId, IReadOnlyList<TaskId>, CancellationToken)

abstract
protected internal abstract ValueTask<TaskId> SelectCompletionAsync(TaskId decisionId, IReadOnlyList<TaskId> candidates, CancellationToken cancellationToken)
Returns a completed candidate, and returns the same candidate for every call with the same decisionId, including calls during replay.

Parameters

decisionIdTaskId
candidatesIReadOnlyList<TaskId>
cancellationTokenCancellationToken