Skip to main content
Table of Contents

Namespace Stratara.Sagas.Abstractions

Interfaces

ISaga

Marker interface for a Stratara saga (a process manager that reacts to events flowing through the event bundle). Implementations declare one or more HandleAsync(TEvent, CancellationToken) methods — public or private — that the SagaMethodInvoker discovers via reflection.

ISagaHandler

Dispatcher that drives a single ISaga through a list of events, using the ISagaMethodInvoker to look up cached handler delegates.

ISagaManager

Fans an incoming event bundle out to every registered ISaga in parallel and runs the per-saga dispatch via ISagaHandler.

ISagaMethodInvoker

Reflection-cache facade that discovers HandleAsync methods on a saga and creates compiled delegates the dispatch can call. Implementations are expected to memoize lookups for process lifetime.