Skip to content
Permalink
Browse files

doc: fix `napi_open_callback_scope` description

- parameter `resource_object` is mandatory

PR-URL: #25366
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information...
DaAitch authored and addaleax committed Jan 6, 2019
1 parent 23d41fb commit f8bb544bfbd15b5daa9aeb283d355a79ec4a903e
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/n-api.md
@@ -4118,7 +4118,7 @@ NAPI_EXTERN napi_status napi_open_callback_scope(napi_env env,
napi_callback_scope* result)
```
- `[in] env`: The environment that the API is invoked under.
- `[in] resource_object`: An optional object associated with the async work
- `[in] resource_object`: An object associated with the async work
that will be passed to possible `async_hooks` [`init` hooks][].
- `[in] context`: Context for the async operation that is
invoking the callback. This should be a value previously obtained

0 comments on commit f8bb544

Please sign in to comment.
You can’t perform that action at this time.