UNPKG

@tachybase/module-workflow

Version:

A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.

12 lines (11 loc) 377 B
import { FlowNodeModel, Instruction, Processor } from '../..'; export declare class ScriptInstruction extends Instruction { run(node: FlowNodeModel, input: any, processor: Processor): Promise<{ result: {}; status: 1; } | { result: any; status: -2; }>; resume(node: FlowNodeModel, job: any, processor: Processor): Promise<any>; }