Function chakracore_sys::JsSetPromiseContinuationCallback [] [src]

pub unsafe extern "system" fn JsSetPromiseContinuationCallback(
    promiseContinuationCallback: JsPromiseContinuationCallback,
    callbackState: *mut c_void
) -> JsErrorCode

Sets a promise continuation callback function that is called by the context when a task needs to be queued for future execution Requires an active script context. The callback function being set. User provided state that will be passed back to the callback. The code JsNoError if the operation succeeded, a failure code otherwise.