UNPKG

@fluxo-engine/core

Version:

fluxo workflow engine core

10 lines (9 loc) 484 B
import { ExecutionContext } from '../types/context'; import { UnknowEnum } from '../types/core'; import { WaitExecutor } from '../types/executor'; interface WaitOptions<NodeType extends UnknowEnum> extends ExecutionContext<NodeType> { executor: WaitExecutor<NodeType>; key: string; } export declare function executeWaitNode<NodeType extends UnknowEnum>(opts: WaitOptions<NodeType>, resumeExecution: (ctx: ExecutionContext<NodeType>) => Promise<any>): Promise<any>; export {};