interruptWhen

Asked now and then while a script runs, its Promise reactions included. Answer true, or throw, to stop it. This is how an outside signal reaches a running script: a deadline, a cancelled coroutine, a stop button. As with the budget, a stop drops the reactions still queued.