Type Definition chakracore_sys::JsSerializedScriptUnloadCallback [] [src]

type JsSerializedScriptUnloadCallback = Option<unsafe extern "system" fn(_: JsSourceContext)>;

Called by the runtime when it is finished with all resources related to the script execution. The caller should free the source if loaded, the byte code, and the context at this time. The context passed to Js[Parse|Run]SerializedScriptWithCallback