Function chakracore_sys::JsModuleEvaluation [] [src]

pub unsafe extern "system" fn JsModuleEvaluation(
    requestModule: JsModuleRecord,
    result: *mut JsValueRef
) -> JsErrorCode

Execute module code. This method implements 15.2.1.1.6.5, "ModuleEvaluation" concrete method. When this methid is called, the chakra engine should have notified the host that the module and all its dependent are ready to be executed. One moduleRecord will be executed only once. Additional execution call on the same moduleRecord will fail. The module to be executed. The return value of the module. The code JsNoError if the operation succeeded, a failure code otherwise.