Function mozjs::jsapi::StopDrainingJobQueue

source ยท
pub unsafe extern "C" fn StopDrainingJobQueue(cx: *mut JSContext)
Expand description

Instruct the runtime to stop draining the internal job queue.

Useful if the embedding is in the process of quitting in reaction to a builtin being called, or if it wants to resume executing jobs later on.