mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 01:32:44 +08:00
19 lines
474 B
TypeScript
19 lines
474 B
TypeScript
import type { ExecutorType } from '../domain/execution';
|
|
|
|
export type PersistedExecutionInspectionStatus =
|
|
| 'running'
|
|
| 'exited'
|
|
| 'identity_mismatch'
|
|
| 'unsupported'
|
|
| 'invalid';
|
|
|
|
export interface PersistedExecutionInspection {
|
|
status: PersistedExecutionInspectionStatus;
|
|
identityPid?: number;
|
|
}
|
|
|
|
export interface PersistedExecutionInspector {
|
|
readonly executorType: ExecutorType;
|
|
inspect(durableHandle: string): Promise<PersistedExecutionInspection>;
|
|
}
|