Click or drag to resize
Akka.NETIJournalQueryExecutorSelectByTagAsync Method
Asynchronously replays callback on all selected events, which have been tagged using provided tag, within boundaries of fromOffset and toOffset, up to max number of elements. Returns highest sequence number from selected events.

Namespace:  Akka.Persistence.Sql.Common.Journal
Assembly:  Akka.Persistence.Sql.Common (in Akka.Persistence.Sql.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Task<long> SelectByTagAsync(
	DbConnection connection,
	CancellationToken cancellationToken,
	string tag,
	long fromOffset,
	long toOffset,
	long max,
	Action<ReplayedTaggedMessage> callback
)

Parameters

connection
Type: System.Data.CommonDbConnection
TBD
cancellationToken
Type: System.ThreadingCancellationToken
TBD
tag
Type: SystemString
TBD
fromOffset
Type: SystemInt64
TBD
toOffset
Type: SystemInt64
TBD
max
Type: SystemInt64
TBD
callback
Type: SystemActionReplayedTaggedMessage
TBD

Return Value

Type: TaskInt64
TBD
See Also