t

akka.persistence.query.typed.scaladsl

CurrentEventsByPersistenceIdTypedQuery

trait CurrentEventsByPersistenceIdTypedQuery extends ReadJournal

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

Source
CurrentEventsByPersistenceIdTypedQuery.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CurrentEventsByPersistenceIdTypedQuery
  2. ReadJournal
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def currentEventsByPersistenceIdTyped[Event](persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long): [EventEnvelope[Event], NotUsed]

    Same type of query as EventsByPersistenceIdTypedQuery#eventsByPersistenceIdTyped but the event stream is completed immediately when it reaches the end of the "result set".

    Same type of query as EventsByPersistenceIdTypedQuery#eventsByPersistenceIdTyped 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.

    This is a new version of the akka.persistence.query.scaladsl.EventsByPersistenceIdQuery#currentEventsByPersistenceId using a new envelope type akka.persistence.query.typed.EventEnvelope.

    Event

    the type of the event payload