Click or drag to resize
Akka.NETSqlReadJournalCurrentEventsByPersistenceId Method
Same type of query as EventsByPersistenceId(String, Int64, Int64) 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.

Namespace:  Akka.Persistence.Query.Sql
Assembly:  Akka.Persistence.Query.Sql (in Akka.Persistence.Query.Sql.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Source<EventEnvelope, NotUsed> CurrentEventsByPersistenceId(
	string persistenceId,
	long fromSequenceNr,
	long toSequenceNr
)

Parameters

persistenceId
Type: SystemString

[Missing <param name="persistenceId"/> documentation for "M:Akka.Persistence.Query.Sql.SqlReadJournal.CurrentEventsByPersistenceId(System.String,System.Int64,System.Int64)"]

fromSequenceNr
Type: SystemInt64

[Missing <param name="fromSequenceNr"/> documentation for "M:Akka.Persistence.Query.Sql.SqlReadJournal.CurrentEventsByPersistenceId(System.String,System.Int64,System.Int64)"]

toSequenceNr
Type: SystemInt64

[Missing <param name="toSequenceNr"/> documentation for "M:Akka.Persistence.Query.Sql.SqlReadJournal.CurrentEventsByPersistenceId(System.String,System.Int64,System.Int64)"]

Return Value

Type: SourceEventEnvelope, NotUsed

[Missing <returns> documentation for "M:Akka.Persistence.Query.Sql.SqlReadJournal.CurrentEventsByPersistenceId(System.String,System.Int64,System.Int64)"]

Implements

ICurrentEventsByPersistenceIdQueryCurrentEventsByPersistenceId(String, Int64, Int64)
See Also