diff --git a/crates/napi/src/threadsafe_function.rs b/crates/napi/src/threadsafe_function.rs index 85421f35..33ba7ee7 100644 --- a/crates/napi/src/threadsafe_function.rs +++ b/crates/napi/src/threadsafe_function.rs @@ -235,6 +235,9 @@ pub struct ThreadsafeFunction, } +unsafe impl Send for ThreadsafeFunction {} +unsafe impl Sync for ThreadsafeFunction {} + impl Clone for ThreadsafeFunction { fn clone(&self) -> Self { self.handle.with_read_aborted(|aborted| {