subflow_workflow

command
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package main demonstrates dynamic subflow task generation in dureq workflows.

Scenario: A data pipeline that fetches items, then dynamically generates one processing task per item at runtime.

fetch_items → generate_tasks(subflow) → [process_item_1, process_item_2, ...] → aggregate

The generate_tasks handler returns a list of WorkflowTasks at runtime, which the orchestrator injects into the running workflow. The aggregate task runs after all dynamically generated tasks complete.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL