GeezerVison is showing github.com — doc: fix optional parameters in n-api.md · nodejs/node@e7be1ed
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/n-api.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4447,8 +4447,8 @@ by the `async_hooks` API. |
4447 | 4447 | - `[in] max_queue_size`: Maximum size of the queue. `0` for no limit. |
4448 | 4448 | - `[in] initial_thread_count`: The initial number of threads, including the main |
4449 | 4449 | thread, which will be making use of this function. |
4450 | | -- `[in] thread_finalize_data`: Data to be passed to `thread_finalize_cb`. |
4451 | | -- `[in] thread_finalize_cb`: Function to call when the |
| 4450 | +- `[in] thread_finalize_data`: Optional data to be passed to `thread_finalize_cb`. |
| 4451 | +- `[in] thread_finalize_cb`: Optional function to call when the |
4452 | 4452 | `napi_threadsafe_function` is being destroyed. |
4453 | 4453 | - `[in] context`: Optional data to attach to the resulting |
4454 | 4454 | `napi_threadsafe_function`. |
|