Module napi::threadsafe_function
source · Modules
Structs
ThreadSafeFunction Context object
the
value
is the value passed to call
methodCommunicate with the addon’s main thread by invoking a JavaScript function from other threads.