Skip to main content

Module effect

Module effect 

Source
Expand description

What a block does to the world, which decides what a restart may do with one that was running when the machine stopped (docs/specs/SPEC_DRONE_GENERAL_AUTOMATION_2026_11_11.md §3.3, “the step that was in flight”).

A read-only or idempotent block is simply run again. An effectful one is not run again on its own, because it may already have done its work: the run waits for a person or an agent to say whether to run it again, skip it, or cancel the run (at most once for effects).

Enums§

Effect

Functions§

api_effect 🔒
A request that only reads is read-only; one that writes is idempotent when it sends an Idempotency-Key header that has text once filled in, and effectful when it does not.
effect_of
What node, a block of kind, does. body is what a for-each’s body block does, and is ignored for any other kind. resolve fills in a template with what the run holds now: a key is a key only when it has text once it is filled in.