ReadEventsAsync(string, CancellationToken)
public abstract IAsyncEnumerable<IDomainEvent> ReadEventsAsync(string streamId, CancellationToken cancellationToken)
- Returns:
- IAsyncEnumerable<IDomainEvent>
Parameters
streamId
string
cancellationToken
CancellationToken
ReadEventsAsync(string, int, CancellationToken)
public abstract IAsyncEnumerable<IDomainEvent> ReadEventsAsync(string streamId, int fromEventSequenceNumber, CancellationToken cancellationToken)
- Returns:
- IAsyncEnumerable<IDomainEvent>
Parameters
streamId
string
fromEventSequenceNumber
int
cancellationToken
CancellationToken