summaryrefslogtreecommitdiff
path: root/src/async_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/async_wrap.h')
-rw-r--r--src/async_wrap.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/async_wrap.h b/src/async_wrap.h
index f0689d32f3..baaebb2a8b 100644
--- a/src/async_wrap.h
+++ b/src/async_wrap.h
@@ -185,8 +185,11 @@ class AsyncWrap : public BaseObject {
private:
friend class PromiseWrap;
- // This is specifically used by the PromiseWrap constructor.
- AsyncWrap(Environment* env, v8::Local<v8::Object> promise, bool silent);
+ AsyncWrap(Environment* env,
+ v8::Local<v8::Object> promise,
+ ProviderType provider,
+ double execution_async_id,
+ bool silent);
inline AsyncWrap();
const ProviderType provider_type_;
// Because the values may be Reset(), cannot be made const.