neon::sys::bindings

Function call_threadsafe_function

Source
pub unsafe fn call_threadsafe_function(
    func: ThreadsafeFunction,
    data: *mut c_void,
    is_blocking: ThreadsafeFunctionCallMode,
) -> Result<(), Status>
Available on crate features sys and napi-4 only.
Expand description