Function js::jsapi::ResolvePromise [] [src]

pub unsafe extern "C" fn ResolvePromise(
    cx: *mut JSContext,
    promise: HandleObject,
    resolutionValue: HandleValue
) -> bool

Resolves the given Promise with the given resolutionValue.

Calls the resolve function that was passed to the executor function when the Promise was created.