Table of Contents

Method FetchRequiredAsync

Namespace
MVVrus.AspNetCore.ActiveSession
Assembly
MVVrus.AspNetCore.ActiveSession.dll

FetchRequiredAsync(int, List<TItem>, CancellationToken, string)

Protected abstract. Creates a task representing an asynchronous fetch of results of the background processing to be returned by GetRequiredAsync method.

protected abstract Task FetchRequiredAsync(int MaxAdvance, List<TItem> Result, CancellationToken Token, string TraceIdentifier)

Parameters

MaxAdvance int

The maximum number of records to be fetched into the Result list.

Result List<TItem>

The list holding the fetched records. May be partially filled before a call of this method.

Token CancellationToken

A CancellationToken instance that may be used to cancel the returned task.

TraceIdentifier string
String that can be used for tracing.

Returns

Task

A task that represents the process of fetching.