pub unsafe fn unref(&self, env: Env) {
        assert_eq!(
            napi::unref_threadsafe_function(env, self.tsfn.0,),
            napi::Status::Ok,
        );
    }
/// Unreferences a threadsafe function to allow exiting the event loop before it has been dropped.
/// Safety: `Env` must be valid for the current thread
Unreferences a threadsafe function to allow exiting the event loop before it has been dropped.
Safety: `Env` must be valid for the current thread
Unreferences a threadsafe function to allow exiting the event loop before it has been dropped . Safety : ` Env ` must be valid for the current thread
pub unsafe fn unref(&self, env: Env) {
        assert_eq!(
            napi::unref_threadsafe_function(env, self.tsfn.0,),
            napi::Status::Ok,
        );
    }
pub unsafe fn unref ( & self , env : Env ) { assert_eq ! ( napi unref_threadsafe_function ( env self tsfn 0 ) napi Status Ok ) ; }
Unreferences a threadsafe function to allow exiting the event loop before it has been dropped.
Unreferences a threadsafe function to allow exiting the event loop before it has been dropped .
&self
env
Env