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)),
}