JavaScript::Runtime - Runs contexts |
JavaScript::Runtime - Runs contexts
JavaScript::Context
-object in the runtime.
To remove the handler call this method with an undef as argument.
Note that attaching an interrupt handler to the runtime causes a slowdown in execution speed since we must execute some Perl code between each op.
In order to abort execution your handler should a false value (such as 0). All true values will continue execution. Any exceptions thrown by the handler are ignored and $@ is cleared.
the JavaScript::Context manpage
JavaScript::Runtime - Runs contexts |