Skip to content

Commit

Permalink
feat: add issue
Browse files Browse the repository at this point in the history
  • Loading branch information
richerfu committed Mar 7, 2024
1 parent 88b02a2 commit 774bafe
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vitepress/BasicSideBar.mts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export const BasicSideBar: DefaultTheme.SidebarItem[] = [
{
text: "More",
items: [
{text: 'F & Q', link: '/docs/more/f&q'}
{text: 'F & Q', link: '/docs/more/f&q'},
{text: 'Known issue',link: '/docs/more/known-issue'}
]
}
];
24 changes: 24 additions & 0 deletions src/docs/more/known-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# N-API
Now, OpenHarmony's `napi` isn't aligned with `Node.js`, below is a list of unsupported methods:

* napi_make_callback
* napi_adjust_external_memory
* napi_async_init
* napi_async_destroy
* uv_run
* napi_add_env_cleanup_hook
* napi_remove_env_cleanup_hook
* napi_open_callback_scope
* napi_close_callback_scope
* napi_add_finalizer
* napi_set_instance_data
* napi_get_instance_data
* napi_add_async_cleanup_hook
* napi_remove_async_cleanup_hook
* node_api_symbol_for
* node_api_get_module_file_name
* node_api_create_syntax_error
* node_api_throw_syntax_error
* node_api_create_external_string_latin1

Related issue: [I96OIQ](https://gitee.com/openharmony/docs/issues/I96OIQ) [I96ONT](https://gitee.com/openharmony/arkui_napi/issues/I96ONT)

0 comments on commit 774bafe

Please sign in to comment.