Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f8bb544

Browse filesBrowse files
DaAitchaddaleax
authored andcommitted
doc: fix napi_open_callback_scope description
- parameter `resource_object` is mandatory PR-URL: #25366 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 23d41fb commit f8bb544
Copy full SHA for f8bb544

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4118,7 +4118,7 @@ NAPI_EXTERN napi_status napi_open_callback_scope(napi_env env,
41184118
napi_callback_scope* result)
41194119
```
41204120
- `[in] env`: The environment that the API is invoked under.
4121-
- `[in] resource_object`: An optional object associated with the async work
4121+
- `[in] resource_object`: An object associated with the async work
41224122
that will be passed to possible `async_hooks` [`init` hooks][].
41234123
- `[in] context`: Context for the async operation that is
41244124
invoking the callback. This should be a value previously obtained

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.