mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: fix napi_open_callback_scope description
- parameter `resource_object` is mandatory PR-URL: https://github.com/nodejs/node/pull/25366 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
1 parent
8bebbd6ec1
commit
9dffc2ba0c
1 file changed
+1
-1
+1
-1
@@ -4059,7 +4059,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
|
||||
|
||||
Reference in new issue
Block a user