AbortSignal for this run. Use it to clean up your own timers, listeners, or fetch calls.
Built-in helpers already cooperate with cancellation. Escape, loss of control/access,
closing the controller window, power-off, or GM loss ends the run.
Example
program.signal.addEventListener("abort", () => { // Release resources created by your Program. }, { once: true });
AbortSignal for this run. Use it to clean up your own timers, listeners, or fetch calls. Built-in helpers already cooperate with cancellation. Escape, loss of control/access, closing the controller window, power-off, or GM loss ends the run.