Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JS_CheckForInterrupt

This article needs a technical review. How you can help.

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,