Skip to main content

Module join

Module join 

Source
Expand description

The Join block: where branches that split come together (docs/specs/SPEC_DRONE_GENERAL_AUTOMATION_2026_11_11.md §3.7).

Block config (node.data):

  • mode all (default), any or n_of_m.
  • n with n_of_m, how many of the incoming branches must arrive.
  • on_branch_error fail (default): a branch that failed fails the run, as any block that failed does. skip: a branch that failed is left out, and the mode says whether the join still holds.

A branch arrives when the edge into the join is taken. One that was not taken because its source did not run (the other side of a Condition) is pruned: it does not count for or against the join. One whose source failed is failed.

  • all holds when no branch failed: every branch that ran arrived.
  • any holds when at least one arrived.
  • n_of_m holds when at least n arrived.

The join runs once its branches are decided, so any does not stop the slower branches: they have finished by then.

Structs§

Branches
How the branches into a join ended, each by the block it came from.
JoinSpec
What the block is set to.

Enums§

Mode
When a join holds.

Functions§

check
The settings, and that the join can hold with the branches it has.
evaluate
The join’s output, or why it does not hold.
parse
The block’s settings, or what is wrong with them.