Search Results for

    Show / Hide Table of Contents

    Interface ICurrentEventsByPersistenceIdQuery

    A plugin may optionally support this query by implementing this trait.

    Namespace: Akka.Persistence.Query
    Assembly: Akka.Persistence.Query.dll
    Syntax
    public interface ICurrentEventsByPersistenceIdQuery : IReadJournal

    Methods

    | Edit this page View Source

    CurrentEventsByPersistenceId(string, long, long)

    Same type of query as EventsByPersistenceId(string, long, long) but the event stream is completed immediately when it reaches the end of the "result set". Events that are stored after the query is completed are not included in the event stream.

    Declaration
    Source<EventEnvelope, NotUsed> CurrentEventsByPersistenceId(string persistenceId, long fromSequenceNr, long toSequenceNr)
    Parameters
    Type Name Description
    string persistenceId
    long fromSequenceNr
    long toSequenceNr
    Returns
    Type Description
    Source<EventEnvelope, NotUsed>

    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