mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
19 lines
575 B
TypeScript
19 lines
575 B
TypeScript
import type {
|
|
AcknowledgeRemoteRunRunningCommand,
|
|
AcknowledgeRemoteRunStartingCommand,
|
|
FailRemoteRunStartCommand,
|
|
RemoteRunActivationResult,
|
|
} from '../application/remoteRunActivationService';
|
|
|
|
export interface WorkerRemoteRunActivationClient {
|
|
acknowledgeStarting(
|
|
command: AcknowledgeRemoteRunStartingCommand,
|
|
): Promise<RemoteRunActivationResult>;
|
|
acknowledgeRunning(
|
|
command: AcknowledgeRemoteRunRunningCommand,
|
|
): Promise<RemoteRunActivationResult>;
|
|
failStart(
|
|
command: FailRemoteRunStartCommand,
|
|
): Promise<RemoteRunActivationResult>;
|
|
}
|