Open JLHwung opened 4 years ago
eventualNew(p, args)
p.then(t => new t(...args))
h.eventualNew(t, args)
Worth noting that unlike in #18, this already has a corresponding Proxy trap of construct (and likewise should be eventualConstruct, not eventualNew).
Proxy
construct
eventualConstruct
eventualNew
eventualNew(p, args)
p.then(t => new t(...args))
h.eventualNew(t, args)