mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 01:32:44 +08:00
15 lines
442 B
TypeScript
15 lines
442 B
TypeScript
import type { ExecutionOutputSink } from '../domain/execution';
|
|
import type { RunDispatchCandidate } from '../domain/runDispatchCandidate';
|
|
|
|
export interface PreparedLocalExecutionArtifact {
|
|
logArtifactId: string;
|
|
output: ExecutionOutputSink;
|
|
dispose(): void | Promise<void>;
|
|
}
|
|
|
|
export interface LocalExecutionArtifactAllocator {
|
|
prepare(
|
|
candidate: Readonly<RunDispatchCandidate>,
|
|
): Promise<PreparedLocalExecutionArtifact>;
|
|
}
|