return stops executing the current sequence and signals the runtime to return control to the caller (if any). It is a control-flow primitive used to short-circuit sequence execution without modifying the response.
return — used as exec: return to stop the current sequence.return with no trailing data.return sets the internal RETURN_FLAG and halts further execution of the current sequence.jump, control returns to the caller sequence; otherwise execution simply stops for the active sequence.jump when you want to return control to the originator without accepting/rejecting the response.- exec: some_helper_sequence
- exec: return
return when you want the caller sequence to continue after a jump-based helper finishes.