Commit 1abb168
doc: fix n-api asynchronous threading docs
Documentation for N-API Custom Asynchronous Operations incorrectly
stated that async execution happens on the main event loop.
Added details to napi_create_async_work about which threads are
used to invoke the execute and complete callbacks.
Changed 'async' to 'asynchronous' in the documentation for Custom
Asynchronous Operations. Changed "executes in parallel" to "can
execute in parallel" for the documentation of napi_create_async_work
execute parameter.
Backport-PR-URL: #19265
PR-URL: #19073
Fixes: #19071
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>1 parent cb3f90a commit 1abb168
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3283 | 3283 | | |
3284 | 3284 | | |
3285 | 3285 | | |
3286 | | - | |
| 3286 | + | |
| 3287 | + | |
3287 | 3288 | | |
3288 | | - | |
| 3289 | + | |
| 3290 | + | |
3289 | 3291 | | |
3290 | 3292 | | |
3291 | 3293 | | |
| |||
3361 | 3363 | | |
3362 | 3364 | | |
3363 | 3365 | | |
3364 | | - | |
3365 | | - | |
3366 | | - | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
3367 | 3369 | | |
3368 | 3370 | | |
3369 | 3371 | | |
| |||
0 commit comments