{{ message }}
Repository navigation
Commit 397b58e
doc: fix triggerAsyncId() comment in async_hooks example
The connection-callback comment claims triggerAsyncId() returns the
asyncId of "conn". It actually returns the server's own triggerAsyncId,
because the callback runs in the execution scope of the server's
MakeCallback() — as the sibling executionAsyncId() example already
explains. Mirror that comment.
Fixes: #21078
Signed-off-by: Julian Soreavis <julian.soreavis@gmail.com>
PR-URL: #64583
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>1 parent 338ec94 commit 397b58e
1 file changed
Lines changed: 3 additions & 3 deletions

0 commit comments