Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: fix up N-API doc
  • Loading branch information
NickNaso committed Nov 26, 2019
commit 09e9e0d7750e26f30dc62909cc918d66f05025c6
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4353,7 +4353,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`][].

Expand Down Expand Up @@ -4920,7 +4920,7 @@ napiVersion: 2

```C
NAPI_EXTERN napi_status napi_get_uv_event_loop(napi_env env,
uv_loop_t** loop);
uv_loop_s** loop);
Comment thread
NickNaso marked this conversation as resolved.
Resolved
```

* `[in] env`: The environment that the API is invoked under.
Expand Down