lazydns

Jump Plugin

jump is a control-flow plugin used inside sequences to execute another plugin or sequence temporarily and then return to continue the caller sequence. It implements push/return semantics: the runtime executes the target and then resumes the next step of the original sequence.

Arguments

Usage

Two common ways to invoke jump inside a sequence:

# sequence: main
- exec: jump audit_handler
# sequence: main
- exec:
    jump: audit_handler

Both forms instruct the runtime to execute the plugin or sequence named audit_handler, then return to continue the calling sequence.

Behavior

Differences vs goto

Use jump for auxiliary tasks (logging, metrics, checks) that should not permanently alter the caller’s flow.

Edge Cases and Notes