diff options
author | NickNaso <nicoladelgobbo@gmail.com> | 2019-11-26 11:59:41 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-12-04 07:21:28 +0100 |
commit | 9ed67f44e29090812444a87e2fe993a8110f31a7 (patch) | |
tree | 241dfdfb8c595cb586714ca6608096540def65d9 | |
parent | ff2ed3ec858bfed9e2d31e0510614ed3931b499a (diff) | |
download | android-node-v8-9ed67f44e29090812444a87e2fe993a8110f31a7.tar.gz android-node-v8-9ed67f44e29090812444a87e2fe993a8110f31a7.tar.bz2 android-node-v8-9ed67f44e29090812444a87e2fe993a8110f31a7.zip |
doc: fix up N-API doc
PR-URL: https://github.com/nodejs/node/pull/30656
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
-rw-r--r-- | doc/api/n-api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 06ee993092..f77d0d9f77 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -4380,7 +4380,7 @@ allows them to avoid blocking overall execution of the Node.js application. N-API provides an ABI-stable interface for these supporting functions which covers the most common asynchronous use cases. -N-API defines the `napi_work` structure which is used to manage +N-API defines the `napi_async_work` structure which is used to manage asynchronous workers. Instances are created/deleted with [`napi_create_async_work`][] and [`napi_delete_async_work`][]. @@ -4947,7 +4947,7 @@ napiVersion: 2 ```C NAPI_EXTERN napi_status napi_get_uv_event_loop(napi_env env, - uv_loop_t** loop); + struct uv_loop_s** loop); ``` * `[in] env`: The environment that the API is invoked under. |