Skip to content

Interface IDurableExecutionRuntimeCatalog

Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll

Exposes the active durable-execution workflows visible to the current runtime.

public interface IDurableExecutionRuntimeCatalog

Gets all active durable-execution workflows visible to the current runtime.

IReadOnlyList<DurableExecutionRuntimeDescriptor> DurableExecutions { get; }

IReadOnlyList<DurableExecutionRuntimeDescriptor>

Gets one durable-execution workflow by its stable behavior identifier.

DurableExecutionRuntimeDescriptor? GetById(string behaviorId)

behaviorId string

The durable behavior identifier to resolve.

DurableExecutionRuntimeDescriptor?

The matching durable workflow descriptor, or null when it is not active.

Gets all durable-execution workflows contributed by the requested module.

IReadOnlyList<DurableExecutionRuntimeDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The source module identifier to filter by.

IReadOnlyList<DurableExecutionRuntimeDescriptor>

The matching durable workflows, or an empty list when the module contributed none.

Gets all durable-execution workflows exposed over the requested transport.

IReadOnlyList<DurableExecutionRuntimeDescriptor> GetByTransportId(string transportId)

transportId string

The stable transport identifier to filter by.

IReadOnlyList<DurableExecutionRuntimeDescriptor>

The matching durable workflows, or an empty list when none expose that transport.