A custom tamper action. apply returns the new message JSON to forward, or undefined for "no change" (the message is forwarded untampered). Throwing is safe: the engine rolls the message back and forwards the original.
apply
undefined
A custom tamper action.
applyreturns the new message JSON to forward, orundefinedfor "no change" (the message is forwarded untampered). Throwing is safe: the engine rolls the message back and forwards the original.