File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1424,7 +1424,7 @@ value.
1424
1424
1425
1425
On the main thread, values are removed from the queue associated with the
1426
1426
thread-safe function in an idle loop. This error indicates that an error
1427
- has occurred when attemping to start the loop.
1427
+ has occurred when attempting to start the loop.
1428
1428
1429
1429
<a id =" ERR_NAPI_TSFN_STOP_IDLE_LOOP " ></a >
1430
1430
### ERR_NAPI_TSFN_STOP_IDLE_LOOP
Original file line number Diff line number Diff line change @@ -4066,10 +4066,10 @@ napi_create_threadsafe_function(napi_env env,
4066
4066
- `[in] func`: The JavaScript function to call from another thread.
4067
4067
- `[in] async_resource`: An optional object associated with the async work that
4068
4068
will be passed to possible `async_hooks` [`init` hooks][].
4069
- - `[in] async_resource_name`: A javaScript string to provide an identifier for
4069
+ - `[in] async_resource_name`: A JavaScript string to provide an identifier for
4070
4070
the kind of resource that is being provided for diagnostic information exposed
4071
4071
by the `async_hooks` API.
4072
- - `[in] max_queue_size`: Maximum size of the queue. 0 for no limit.
4072
+ - `[in] max_queue_size`: Maximum size of the queue. `0` for no limit.
4073
4073
- `[in] initial_thread_count`: The initial number of threads, including the main
4074
4074
thread, which will be making use of this function.
4075
4075
- `[in] thread_finalize_data`: Data to be passed to `thread_finalize_cb`.
@@ -4097,7 +4097,7 @@ napi_get_threadsafe_function_context(napi_threadsafe_function func,
4097
4097
```
4098
4098
4099
4099
- `[in] func`: The thread-safe function for which to retrieve the context.
4100
- - `[out] context `: The location where to store the context.
4100
+ - `[out] result `: The location where to store the context.
4101
4101
4102
4102
This API may be called from any thread which makes use of `func`.
4103
4103
You can’t perform that action at this time.
0 commit comments