mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
11 lines
435 B
TypeScript
11 lines
435 B
TypeScript
import type { RunDispatchCandidate } from '../domain/runDispatchCandidate';
|
|
import type { RunDispatchPlan } from '../domain/runDispatchOffer';
|
|
|
|
/**
|
|
* Prepares one bounded plan in trusted control-plane memory. The Dispatcher must
|
|
* not expose it as an execution offer until the corresponding lease is claimed.
|
|
*/
|
|
export interface RunDispatchPlanSource {
|
|
prepare(candidate: RunDispatchCandidate): Promise<RunDispatchPlan | null>;
|
|
}
|