Closed
Description
Missing Handle context
- TCPwrap created from server (issue: AsyncWrap: TCPWrap created before MakeCallback node#2986, PR: async_wrap: correctly pass parent to init callback node#3216)
- HTTP sockets
parserOnBody
- Promises or Microtask in general
- nextTick (old issue: async-wrap: nextTick and setImmediate is ignored node#666, PR: Async Hooks - Initial Implementation node#12892)
- setTimeout, setInterval, setImmediate
-
exit
andbeforeExit
has no context- ref: async_hooks: implement C++ embedder API node#13142 (review)
- issue: none
- PR: none
-
emitDestroy
doesn't emitdestroy
upon process termination (issue: Questions: async_hooks destroy callback vs setImmediate node#13262, PR: async_hooks: run destroy callbacks before normal exit node#13286) - addon modules integration with AsyncWrap (EP: AsyncWrap public API proposal node-eps#18, PR: async_hooks: implement C++ embedder API node#13142)
- N-API addon modules integration with AsyncWrap (issue: Integrate C++ AsyncHooks Embedder API with native abstraction node#13254, PR: none)
- NAN-API addon modules integration with AsyncWrap (issue: Integrate C++ AsyncHooks Embedder API with native abstraction node#13254, PR: none)
More events
-
onready (issue: async_wrap: when is callback ready to be called #11) - unlikely to be solved. As of now, not part ofasync_hooks
API.- Some debate regarding promises: async_wrap,src: promise hook integration node#13000 (comment)
-
onerror (issue: async-wrap: no way to catch errors without changing the throw origin node#669, async_wrap: error handling #7) - awaiting use cases. As of now, not part ofasync_hooks
API. - ondestructor (PR: AsyncWrap external API improvements node#3461)
API
-
process.binding
is being deprecated by node: deprecate public access toprocess.binding
node#2768 (issue: missing, PR: Async Hooks - Initial Implementation node#12892) - support multiple independent
setupHooks
calls. (issue: Multiple users of asyncWrap in a single application? #40, PR: Async Hooks - Initial Implementation node#12892) - async wrap hook error handling (PR: Asyncwrap more node#5756)
- add exception throw flag to post hook (PR: Asyncwrap more node#5756)
- add parent handle to init callback (PR: async_wrap: correctly pass parent to init callback node#3216)
- add unique id (PR: AsyncWrap external API improvements node#3461)
- add unique id to all hooks: (PR: async_wrap: add uid argument to all asyncWrap hooks node#4600)
- unique ids should be a double, int32 is not enough. (PR: async_wrap: pass uid to JS as double node#7096)
Documentation
- intial documentation (PR: docs: add up to date documentation for AsyncWrap #27)
- document unique id (PR: Async wrap update - destroy hook and uid #37)
- document ondestructor (PR: Async wrap update - destroy hook and uid #37)
- document unique id on all hooks (PR: docs: update after nodejs/node#4600 #39)
- document public JS
async_hooks
API. (PR: docs: documenting async hooks features node#13287) - document public C++ Embedder API – is the header file sufficient? (PR: none)
If something is missing just edit this. But add a comment so we can keep the history.