@vasto-queue/workflow
v0.1.0
Published
Workflow engine utilities for Vasto
Maintainers
Readme
@vasto-queue/workflow
Workflow and DAG orchestration helpers for Vasto.
Included exports
WorkflowEngine— enqueues ready nodes and advances dependent jobs after completionWorkflowNode/WorkflowDefinition— workflow graph typesWorkflowStorage— storage contract needed by the engine
Usage
import { WorkflowEngine } from '@vasto-queue/workflow';
const engine = new WorkflowEngine(storage);
await engine.run(nodes);