env :构造 Napi::ThreadSafeFunction 对象的环境; callback :另一个线程调用的函数. 例:. #include <chrono> #include <napi.
確定! 回上一頁