Commit 922d4c4
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 5b4521f commit 922d4c4
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
817 | | - | |
818 | | - | |
819 | | - | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
| |||
0 commit comments