mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 00:38:14 +08:00
9 lines
333 B
TypeScript
9 lines
333 B
TypeScript
import type { RunDispatchLeaseRecord } from '../domain/runDispatchLease';
|
|
|
|
/** In-process lease renewal view used by the offer receiver. */
|
|
export interface WorkerRunLeaseTracker {
|
|
track(lease: RunDispatchLeaseRecord): void;
|
|
untrack(attemptId: string): RunDispatchLeaseRecord | undefined;
|
|
leases(): RunDispatchLeaseRecord[];
|
|
}
|