doc: add call-once note to napi_queue_async_work · nodejs/node@7923b4a · GitHub
Skip to content

Commit 7923b4a

Browse files
Gabriel Schulhoftargos
authored andcommitted
doc: add call-once note to napi_queue_async_work
Add note to `napi_queue_async_work()` indicating that, upon successful return, it must not be called again with the same work item. Fixes: #27217 PR-URL: #27582 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 8a96182 commit 7923b4a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/api/n-api.md

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)