Hi,

Currently v8::Promise::Resolver::New is declared as follows.

static V8_WARN_UNUSED_RESULT MaybeLocal<Resolver> New(
    Local<Context> context);

But Looking at the implementation, I don't see direct context use in
Factory::NewJSPromise. Do we actually need the context parameter for the
constructor, or can we pass an Isolate instead and make it return
Local<Resolver>, like constructors for other types such as v8::Object,
v8::Array, v8::Map and so on?

Thanks,

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to