Files
qinglong/back/runtime/ports/runDispatchCandidateSource.ts
T

17 lines
396 B
TypeScript

import type {
RunDispatchCandidate,
RunDispatchCandidateCursor,
} from '../domain/runDispatchCandidate';
export interface ListRunDispatchCandidatesOptions {
observedAtMs: number;
after?: RunDispatchCandidateCursor;
limit?: number;
}
export interface RunDispatchCandidateSource {
listCandidates(
options: ListRunDispatchCandidatesOptions,
): Promise<RunDispatchCandidate[]>;
}