阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js N-API napi_acquire_threadsafe_function

      Node.js N-API napi_acquire_threadsafe_function

      新增于: v10.6.0 NAPI_EXTERN napi_status napi_acquire_threadsafe_function(napi_threadsafe_function func); [in] func: The asynchronous thread-safe JavaScript function to start making use of. A thread should call this API before passing func to any other thread-safe function APIs to indicate that it will be making use of func. This prevents func from being destroyed when all other threads have stopped making use of it.

      This API may be called from any thread which will start making use of func.


      更多内容请参考:Node.js N-API,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录