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: 13 Imported by: 0

Documentation

Overview

Package main demonstrates dureq workflows — a DAG of tasks executed with dependency ordering, orchestrated by the leader node.

Scenario: An order processing pipeline with this task graph:

validate_order ──┬── charge_payment
                 └── reserve_inventory
                         │
charge_payment ──────┐   │
                     ▼   ▼
                  ship_order
                     │
                     ▼
                send_confirmation

The orchestrator dispatches root tasks (validate_order), then advances through the DAG as each task completes.

Jump to

Keyboard shortcuts

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