Module napi::threadsafe_function
source · [−]Modules
Type-level enum
to express how to feed ThreadsafeFunction
errors to
the inner [JsFunction
].
Structs
ThreadSafeFunction Context object
the value
is the value passed to call
method
Communicate with the addon’s main thread by invoking a JavaScript function from other threads.