![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
A SagaRepository<TAuthenticationToken> that is safe to use within Akka.NET More...
Public Member Functions | |
void | LoadSagaHistory< TSaga > (TSaga saga, IList< ISagaEvent< TAuthenticationToken >> events=null, bool throwExceptionOnNoEvents=true) |
If events is null, loads the events from an IEventStore<TAuthenticationToken>, checks for duplicates and then rehydrates the saga with the events. More... | |
![]() | |
void | Save< TSaga > (TSaga saga, int? expectedVersion=null) |
Save and persist the provided saga , optionally providing the version number the ISaga<TAuthenticationToken> is expected to be at. More... | |
TSaga | Get< TSaga > (Guid sagaId, IList< ISagaEvent< TAuthenticationToken >> events=null) |
Retrieves an ISaga<TAuthenticationToken> of type TSaga . More... | |
A SagaRepository<TAuthenticationToken> that is safe to use within Akka.NET
TAuthenticationToken | The Type of authentication token. |