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.

16 lines (15 loc) 451 B
import Instruction from '../../instructions'; import Processor from '../../Processor'; export declare class TriggerInstruction extends Instruction { run(node: any, input: any, processor: Processor): Promise<{ status: -1; result?: undefined; } | { status: 1; result: any; } | { status: 0; result?: undefined; }>; resume(node: any, prevJob: any, processor: Processor): Promise<any>; }