Skip to main content

Fields

int
required
How many pages a read allows.
int
required
How many restarts a read allows.

Methods

Check()

Refuses a page that breaks the paging rules.

Type Parameters

required

Parameters

required
Page<<T>>
required
Type: Page

ListAllAsync()

Lists and resolves every principal of a kind.

Parameters

string
required
int
Action<Page<Principal>>
CancellationToken

Returns

PagedReadPrincipal

ListAllWorkersAsync()

Lists every worker page by page.

Parameters

int
Action<Page<SourceWorker>>
CancellationToken

Returns

PagedReadSourceWorker

ReadAllAsync()

Reads a whole source fetch page by page.

Type Parameters

required

Parameters

Func<SourceFetchRequest,Task<Page<<T>>>>
required
Action<Page<<T>>>
Type: Page

Returns

PagedRead
Reads a whole list page by page.

Type Parameters

required

Parameters

Func<PageRequest,Task<Page<<T>>>>
required
int
Action<Page<<T>>>
Type: Page

Returns

PagedRead

ReadCatalogAsync()

Reads every page of the records of each object fields take values from, unless records is false, and of each values_from lookup list, and discovers the fields the tenant adds at each extensible item, and lists each declared resource from the values that reach it. A source that fails to read, or reads only in part, becomes one of the catalog’s read errors, named by its field. Fields the tenant adds at a path no item marks extensible are refused, as a read error named by that path.

Parameters

int
bool
CancellationToken

Returns

CatalogRead

ReadChangesAsync()

Reads what changed since a watermark, or null when the vendor says to read in full.

Type Parameters

required

Parameters

Func<PageRequest,Task<Page<<T>>>>
required
Func<Page<<T>>,Task>
required
Type: Page
Func<T, string>
required
int

Returns

ChangesRead

ReadPagesAsync()

Reads a list, handing over each page.

Type Parameters

required

Parameters

Func<PageRequest,Task<Page<<T>>>>
required
Func<Page<<T>>,Task>
required
Type: Page
int

Returns

PagesRead