pub type ThreadsafeFunctionCallJs = Option<unsafe extern "C" fn(env: Env, js_callback: Value, context: *mut c_void, data: *mut c_void)>;
Available on crate features
sys
and napi-4
only.Expand description
Aliased Type§
enum ThreadsafeFunctionCallJs {
None,
Some(unsafe extern "C" fn(_: *mut Env__, _: *mut Value__, _: *mut c_void, _: *mut c_void)),
}