<div dir="ltr">Hi,<div><br></div><div>Is it possible to tell a JSContext to cancel JavaScript code evaluation?</div><div>I found a `<a href="https://github.com/WebKit/webkit/blob/master/Source/JavaScriptCore/API/JSContextRefPrivate.h#L88">JSContextGroupSetExecutionTimeLimit</a>` function, but that's not what i'm looking for because you have to call it before running any scripts.</div><div><br></div><div>Context: I'm working on a "NodeJS on iOS" app as a WWDC scholarship project and having a "Stop execution" button would be really useful.</div><div><br></div><div>Thanks!</div>
<div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Lukas Kollmer<br></div><div><a href="mailto:lukas.kollmer@gmail.com" target="_blank">lukas.kollmer@gmail.com</a><br></div><div><br></div></div></div>
</div></div>