napi_threadsafe_function


这是一个不透明的指针,表示可以通过 napi_call_threadsafe_function() 从多个线程异步调用的 JavaScript 函数。

¥This is an opaque pointer that represents a JavaScript function which can be called asynchronously from multiple threads via napi_call_threadsafe_function().