tc39 / proposal-eventual-send

TC39 Eventual Send proposal
44 stars 6 forks source link

Should we support eventualNew method? #19

Open JLHwung opened 4 years ago

JLHwung commented 4 years ago
Static Method Default Behavior Handler trap
eventualNew(p, args) p.then(t => new t(...args)) h.eventualNew(t, args)
dead-claudia commented 2 years ago

Worth noting that unlike in #18, this already has a corresponding Proxy trap of construct (and likewise should be eventualConstruct, not eventualNew).