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

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[]>;
}