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.
Cqrs.Akka.Domain.IAkkaSagaRepository< TAuthenticationToken > Interface Template Reference

A SagaRepository<TAuthenticationToken> that is safe to use within Akka.NET More...

+ Inheritance diagram for Cqrs.Akka.Domain.IAkkaSagaRepository< TAuthenticationToken >:

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...
 
- Public Member Functions inherited from Cqrs.Domain.ISagaRepository< TAuthenticationToken >
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...
 

Detailed Description

A SagaRepository<TAuthenticationToken> that is safe to use within Akka.NET

Template Parameters
TAuthenticationTokenThe Type of authentication token.