Skip to content

Commit 94a5373

Browse files
committed
doc: napi napi_open_callback_scope
- parameter `resource_object` is mandatory
1 parent 9dfbc39 commit 94a5373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/n-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4109,7 +4109,7 @@ NAPI_EXTERN napi_status napi_open_callback_scope(napi_env env,
41094109
napi_callback_scope* result)
41104110
```
41114111
- `[in] env`: The environment that the API is invoked under.
4112-
- `[in] resource_object`: An optional object associated with the async work
4112+
- `[in] resource_object`: An object associated with the async work
41134113
that will be passed to possible `async_hooks` [`init` hooks][].
41144114
- `[in] context`: Context for the async operation that is
41154115
invoking the callback. This should be a value previously obtained

0 commit comments

Comments
 (0)