Function js::jsapi::SetActivityCallback [] [src]

pub unsafe extern "C" fn SetActivityCallback(
    rt: *mut JSRuntime,
    cb: ActivityCallback,
    arg: *mut c_void
)

Sets a callback that is run whenever the runtime goes idle - the last active request ceases - and begins activity - when it was idle and a request begins.