阿西河

所有教程

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

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js N-API napi_close_escapable_handle_scope

      Node.js N-API napi_close_escapable_handle_scope

      新增于: v8.0.0 N-API version: 1

      NAPI_EXTERN napi_status
          napi_close_escapable_handle_scope(napi_env env,
                                            napi_handle_scope scope);
      
      • [in] env: The environment that the API is invoked under.
      • [in] scope: napi_value representing the scope to be closed.

      Returns napi_ok if the API succeeded.

      This API closes the scope passed in. Scopes must be closed in the reverse order from which they were created.

      This API can be called even if there is a pending JavaScript exception.


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


      目录
      本文目录
      目录