File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1424,7 +1424,7 @@ value.
14241424
14251425On the main thread, values are removed from the queue associated with the
14261426thread-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.
14281428
14291429<a id =" ERR_NAPI_TSFN_STOP_IDLE_LOOP " ></a >
14301430### 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,
40664066- `[in] func`: The JavaScript function to call from another thread.
40674067- `[in] async_resource`: An optional object associated with the async work that
40684068will 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
40704070the kind of resource that is being provided for diagnostic information exposed
40714071by 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.
40734073- `[in] initial_thread_count`: The initial number of threads, including the main
40744074thread, which will be making use of this function.
40754075- `[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,
40974097```
40984098
40994099- `[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.
41014101
41024102This API may be called from any thread which makes use of `func`.
41034103
You can’t perform that action at this time.
0 commit comments