mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 10:32:40 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import type { ExecutionContext } from '../domain/execution';
|
||||
import type { ClaimedExecutionOffer } from '../domain/runDispatchOffer';
|
||||
|
||||
export interface PreparedWorkerExecutionContext {
|
||||
context: ExecutionContext;
|
||||
logArtifactId?: string;
|
||||
}
|
||||
|
||||
export interface WorkerExecutionContextFactory {
|
||||
prepare(
|
||||
offer: ClaimedExecutionOffer,
|
||||
): Promise<PreparedWorkerExecutionContext>;
|
||||
}
|
||||
Reference in New Issue
Block a user