doc: document n-api callback scope usage · nodejs/node@6d22ae3 · GitHub
Skip to content

Commit 6d22ae3

Browse files
Gabriel Schulhofaddaleax
authored andcommitted
doc: document n-api callback scope usage
Document that it is not necessary to open handle and/or callback scopes inside finalizer, async work, thread-safe function etc. callbacks unless for reasons documented in the section about object lifetime management. Link usage of callback signatures to their definition. Fixes: #33893 PR-URL: #33915 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 88d12c0 commit 6d22ae3

1 file changed

Lines changed: 36 additions & 16 deletions

File tree

doc/api/n-api.md

Lines changed: 36 additions & 16 deletions

0 commit comments

Comments
 (0)