Skip to content
Commit Detail

Commit 44d3004

Author
Kenton Varda <kenton@cloudflare.com> 2025-05-20 10:57:15 -0500
Parents
0542d70
Tree
030241e
Cleanup: Move hacks into js.terminateExecution().

There are now two methods:

* js.terminateNextExecution(), which has the previous behavior.
* js.terminateExecutionNow(), which forces the termination to happen synchronously and always throws.

This lets us take the hack that had proliferated to three different places and keep it in one place.

Files changed