JS_IsRunning

Indicates whether or not a script or function is currently executing in a given context.

Syntax

JSBool JS_IsRunning(JSContext *cx);
Name Type Description
cx JSContext * The context to query.

Description

JS_IsRunning determines if a script or function is currently executing in a specified JSContext, cx. If a script is executing, JS_IsRunning returns JS_TRUE. Otherwise it returns JS_FALSE.

MXR ID Search for JS_IsRunning

Document Tags and Contributors

Contributors to this page: Tservo, MMondor, Nickolay, Jorend, Dria
Last updated by: Jorend,