condition_loop

command
v0.1.10 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 condition-based looping in dureq workflows.

Scenario: Iterative data processing with a condition node controlling the loop. The workflow processes batches of items until all are done.

init → process_batch → check_done(condition) ─┬─ route 0 → process_batch (loop)
                                               └─ route 1 → summarize

The check_done condition handler inspects progress and loops back to process_batch (route 0) until processing is complete, then exits to summarize (route 1). MaxIterations prevents infinite loops.

Jump to

Keyboard shortcuts

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