Skip to content

docs: clarify that async_hook callbacks cannot be async - #37384

Closed
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:clarify-async-hooks-callbacks
Closed

docs: clarify that async_hook callbacks cannot be async#37384
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:clarify-async-hooks-callbacks

Conversation

@jasnell

@jasnell jasnell commented Feb 15, 2021

Copy link
Copy Markdown
Member

Clarify that the init/before/after/destroy callbacks in async_hooks cannot be async functions.

Signed-off-by: James M Snell jasnell@gmail.com

Signed-off-by: James M Snell <jasnell@gmail.com>
@nodejs-github-bot nodejs-github-bot added async_hooks Issues and PRs related to the async hooks subsystem. doc Issues and PRs related to Node.js documentation. labels Feb 15, 2021
@Lxxyx Lxxyx added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Feb 17, 2021
Lxxyx pushed a commit that referenced this pull request Feb 18, 2021
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #37384
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
@Lxxyx

Lxxyx commented Feb 18, 2021

Copy link
Copy Markdown
Member

Landed in 85cb9c6b5896

@Lxxyx Lxxyx closed this Feb 18, 2021
@targos

targos commented Feb 18, 2021

Copy link
Copy Markdown
Member

Actually landed in bb35b6e

@targos targos reopened this Feb 18, 2021
@targos targos closed this Feb 18, 2021
@Lxxyx

Lxxyx commented Feb 18, 2021

Copy link
Copy Markdown
Member

Actually landed in bb35b6e

Whoops, I forgot I manually changed the commit message, thanks for the reminder

targos pushed a commit that referenced this pull request Feb 28, 2021
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #37384
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
targos pushed a commit that referenced this pull request May 1, 2021
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #37384
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
@danielleadams danielleadams mentioned this pull request May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

async_hooks Issues and PRs related to the async hooks subsystem. author ready PRs with CI started, the required approvals, and no outstanding review comments. doc Issues and PRs related to Node.js documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants