title: Emscripten - Is there a way to abort execution from JavaScript?
body: <p>When executing a long-running function (including <code>Module.callMain</code>), is there a way to abort execution from JavaScript?</p>