Skip to content

DurableStateManagerExtensions.GetOrAddTaskCompletionSource(IDurableStateManager, string)

GetOrAddTaskCompletionSource(IDurableStateManager, string)

staticextension
View source
public static IDurableTaskCompletionSource<T> GetOrAddTaskCompletionSource<T>(this IDurableStateManager manager, string name)
Gets or creates a named durable task completion source.

Parameters

managerIDurableStateManager
The owning manager.
namestring
The stable state name.

Returns

The named task completion source instance.