@fluxo-engine/core
Version:
fluxo workflow engine core
9 lines (8 loc) • 488 B
TypeScript
import { ExecutionContext } from '../types/context';
import { UnknowEnum } from '../types/core';
import { BranchExecutor } from '../types/executor';
interface BranchOptions<NodeType extends UnknowEnum> extends ExecutionContext<NodeType> {
currentExecutor: BranchExecutor<NodeType>;
}
export declare function executeBranchNode<NodeType extends UnknowEnum>(opts: BranchOptions<NodeType>, resumeExecution: (ctx: ExecutionContext<NodeType>) => Promise<any>): Promise<boolean>;
export {};