mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 01:32:44 +08:00
17 lines
396 B
TypeScript
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[]>;
|
|
}
|