mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 10:55:27 +00:00
8 lines
151 B
TypeScript
8 lines
151 B
TypeScript
import { WorkflowTask } from '@shumai/db'
|
|
|
|
export interface Executor {
|
|
submit(task: WorkflowTask): Promise<string>
|
|
start(): void
|
|
close(): void
|
|
}
|