Table of Contents

Interface IOrchestrationSession

Namespace
DurableTask.Core
Assembly
DurableTask.Core.dll

Interface allowing providers to implement extended sessions (aka "sticky sessions").

public interface IOrchestrationSession

Methods

FetchNewOrchestrationMessagesAsync(TaskOrchestrationWorkItem)

When implemented, fetches a new batch of messages for a particular work item.

Task<IList<TaskMessage>> FetchNewOrchestrationMessagesAsync(TaskOrchestrationWorkItem workItem)

Parameters

workItem TaskOrchestrationWorkItem

Returns

Task<IList<TaskMessage>>

Remarks

Implementors of this method should feel free to block until new messages are available, or until an internal wait period has expired. In either case, null can be returned and the dispatcher will shut down the session.