mirror of
https://github.com/nodejs/node.git
synced 2025-04-30 23:56:58 +00:00
![]() Adds a variant of AsyncHooksGetExecutionAsyncId that takes a V8 Context and returns the async ID belonging to the Environment (if any) of that Context. Sometimes we want to use Isolate::GetEnteredOrMicrotaskContext insteads of Isolate::GetCurrentContext (e.g. recording the async ID in a V8 GC prologue callback) when current context is not set. PR-URL: https://github.com/nodejs/node/pull/57820 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> |
||
---|---|---|
.. | ||
binding.cc | ||
binding.gyp | ||
test.js |