pub type JSPromiseHook = Option<unsafe extern "C" fn(*mut JSContext, u32, JSValue, JSValue, *mut c_void)>;
pub enum JSPromiseHook { None, Some(unsafe extern "C" fn(*mut JSContext, u32, JSValue, JSValue, *mut c_void)), }
No value.
Some value of type T.
T