Function: shouldInterruptAfterDeadline()
February 16, 2026 ยท View on GitHub
quickjs-emscripten / quickjs-emscripten-core / shouldInterruptAfterDeadline
Function: shouldInterruptAfterDeadline()
shouldInterruptAfterDeadline(
deadline):InterruptHandler
Defined in: packages/quickjs-emscripten-core/src/interrupt-helpers.ts:9
Returns an interrupt handler that interrupts Javascript execution after a deadline time.
Contents
Parameters
deadline
Interrupt execution if it's still running after this time.
Number values are compared against Date.now()
number | Date