Method ReadTrailingAsync
- Assembly
- MailFathom.Infrastructure.dll
ReadTrailingAsync(Guid?, int, CancellationToken)
Reads the users whose stamp does not match their row, in identifier order.
Task<IReadOnlyList<UserId>> ReadTrailingAsync(Guid? after, int limit, CancellationToken cancellationToken)
Parameters
afterGuid?The user the previous reading ended on, to read on from, or null to read from the first.
limitintThe greatest number of users to read.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<IReadOnlyList<UserId>>
No more than
limitsuch users, each pastafter; no document travels with them.
Exceptions
- ArgumentOutOfRangeException
Thrown when
limitis not positive.- UserSettingsUnreadableException
Thrown when the database declined the read.