trait CurrentEventsByPersistenceIdTypedQuery extends ReadJournal
Ordering
- Alphabetic
- By Inheritance
Inherited
- CurrentEventsByPersistenceIdTypedQuery
- ReadJournal
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- 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
A plugin may optionally support this query by implementing this trait.