Class JournalInterceptors.OnCondition
Inheritance
JournalInterceptors.OnCondition
Assembly: Akka.Persistence.TestKit.dll
Syntax
public sealed class JournalInterceptors.OnCondition : IJournalInterceptor
Constructors
|
Edit this page
View Source
OnCondition(Func<IPersistentRepresentation, bool>, IJournalInterceptor, bool)
Declaration
public OnCondition(Func<IPersistentRepresentation, bool> predicate, IJournalInterceptor next, bool negate = false)
Parameters
|
Edit this page
View Source
OnCondition(Func<IPersistentRepresentation, Task<bool>>, IJournalInterceptor, bool)
Declaration
public OnCondition(Func<IPersistentRepresentation, Task<bool>> predicate, IJournalInterceptor next, bool negate = false)
Parameters
Methods
|
Edit this page
View Source
InterceptAsync(IPersistentRepresentation)
Method will be called for each individual message before it is written or recovered.
Declaration
public Task InterceptAsync(IPersistentRepresentation message)
Parameters
Returns
Implements
Extension Methods