IReplPageSource<T>
Fetches pages of a result set on demand.
- Kind:
Interface - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/ResultFlow/IReplPageSource.cs
Signature
Section titled “Signature”public interface IReplPageSource<T> : IReplPageSourceType Parameters
Section titled “Type Parameters”T: Item type.
Methods
Section titled “Methods”FetchAsync(ReplPageRequest, CancellationToken)
Section titled “FetchAsync(ReplPageRequest, CancellationToken)”Fetches a page for the supplied request.
ValueTask<ReplPage<T>> FetchAsync(ReplPageRequest request, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”request(ReplPageRequest): Page request.cancellationToken(CancellationToken): Cancellation token.
Returns
Section titled “Returns”ValueTask<ReplPage<T>> - The fetched page.