Search Results for

    Show / Hide Table of Contents

    Class JournalInterceptors.OnCondition

    Inheritance
    object
    JournalInterceptors.OnCondition
    Implements
    IJournalInterceptor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Persistence.TestKit
    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
    Type Name Description
    Func<IPersistentRepresentation, bool> predicate
    IJournalInterceptor next
    bool negate
    | 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
    Type Name Description
    Func<IPersistentRepresentation, Task<bool>> predicate
    IJournalInterceptor next
    bool negate

    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
    Type Name Description
    IPersistentRepresentation message

    Written or recovered message.

    Returns
    Type Description
    Task

    Implements

    IJournalInterceptor

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET