summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index 610347364d..5d2f996cc8 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -303,6 +303,8 @@ class InternalCallbackScope {
v8::Local<v8::Object> object,
const async_context& asyncContext,
ResourceExpectation expect = kRequireResource);
+ // Utility that can be used by AsyncWrap classes.
+ explicit InternalCallbackScope(AsyncWrap* async_wrap);
~InternalCallbackScope();
void Close();