Method ReadPageAsync
- Namespace
- MailFathom.Application.Contacts
- Assembly
- MailFathom.Application.dll
ReadPageAsync(ContactBookScope, ContactQuery, CancellationToken)
Reads one bounded page of the books a scope reads.
Task<ContactPage> ReadPageAsync(ContactBookScope scope, ContactQuery query, CancellationToken cancellationToken)
Parameters
scopeContactBookScopeThe books read.
queryContactQueryWhat to read and where to continue from.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<ContactPage>
The page, with the boundary the following one reads beyond when more contacts follow.