mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 00:58:17 +08:00
17 lines
403 B
TypeScript
17 lines
403 B
TypeScript
import type {
|
|
RecoverableRunDispatch,
|
|
RunDispatchRecoveryCursor,
|
|
} from '../domain/runDispatchRecovery';
|
|
|
|
export interface ListRecoverableRunDispatchesOptions {
|
|
observedAtMs: number;
|
|
after?: RunDispatchRecoveryCursor;
|
|
limit?: number;
|
|
}
|
|
|
|
export interface RunDispatchRecoverySource {
|
|
listRecoverable(
|
|
options: ListRecoverableRunDispatchesOptions,
|
|
): Promise<RecoverableRunDispatch[]>;
|
|
}
|