mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
14 lines
385 B
TypeScript
14 lines
385 B
TypeScript
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>;
|
|
}
|