MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

JS_CheckForInterrupt

This article covers features introduced in SpiderMonkey 45

Check for and handle interrupt.

Syntax

bool
JS_CheckForInterrupt(JSContext* cx);
Name Type Description
cx </code>JSContext *<code> The context.

Description

JS_CheckForInterrupt checks for the interrupt, and handle it if it's pending. JS_CheckForInterrupt returns false if interrupt callback returns false.

See Also

Document Tags and Contributors

 Contributors to this page: rolfedh, arai
 Last updated by: rolfedh,