We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 078c427 commit 5ddee99Copy full SHA for 5ddee99
src/env.h
@@ -678,6 +678,10 @@ class AsyncHooks : public MemoryRetainer {
678
inline AliasedFloat64Array& async_id_fields();
679
inline AliasedFloat64Array& async_ids_stack();
680
inline v8::Local<v8::Array> js_execution_async_resources();
681
+ // Returns the native executionAsyncResource value at stack index `index`.
682
+ // Resources provided on the JS side are not stored on the native stack,
683
+ // in which case an empty `Local<>` is returned.
684
+ // The `js_execution_async_resources` array contains the value in that case.
685
inline v8::Local<v8::Object> native_execution_async_resource(size_t index);
686
687
inline v8::Local<v8::String> provider_string(int idx);
0 commit comments