fn create_native_handler_function(
    cx: *mut JSContext,
    holder: HandleObject<'_>,
    task: NativeHandlerTask
) -> *mut JSObject