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