Table of Contents

Method QueryJobsAsync

Namespace
Millrace.Storage.PostgreSql
Assembly
Millrace.Storage.PostgreSql.dll

QueryJobsAsync(JobQuery, CancellationToken)

One page of jobs matching query.

public ValueTask<Page<JobSummary>> QueryJobsAsync(JobQuery query, CancellationToken ct)

Parameters

query JobQuery
ct CancellationToken

Returns

ValueTask<Page<JobSummary>>

Remarks

Limit is clamped, never rejected. A cursor is only meaningful with the filters that produced it; presenting one with different filters yields undefined ordering and providers MAY throw MillraceStorageException rather than return nonsense.

Exceptions

MillraceStorageException

The cursor was not issued by this provider.