[blink-dev] Intent to Ship: Promise.withResolvers

2023-09-14 Thread 'Shu-yu Guo' via blink-dev
Contact emails...@chromium.org ExplainerNone Specificationhttps://tc39.es/proposal-promise-with-resolvers Summary Promise.withResolvers is a static methods that returns a new Promise along with its resolver functions, i.e. `const { promise, resolve, reject } = Promise.withResolvers()`. This is

Re: [blink-dev] Intent to Ship: Promise.withResolvers

2023-09-15 Thread Yoav Weiss
LGTM1 Very neat!! That would definitely have simplified some testing code I recently wrote :) On Fri, Sep 15, 2023 at 1:50 AM 'Shu-yu Guo' via blink-dev < blink-dev@chromium.org> wrote: > Contact emails...@chromium.org > > ExplainerNone > https://github.com/tc39/proposal-promise-with-resolvers/

Re: [blink-dev] Intent to Ship: Promise.withResolvers

2023-09-16 Thread Mike Taylor
LGTM2 On 9/16/23 8:22 AM, Yoav Weiss wrote: LGTM1 Very neat!! That would definitely have simplified some testing code I recently wrote :) On Fri, Sep 15, 2023 at 1:50 AM 'Shu-yu Guo' via blink-dev wrote: Contact emails s...@chromium.org Explainer None

Re: [blink-dev] Intent to Ship: Promise.withResolvers

2023-09-16 Thread Alex Russell
LGTM3 On Sat, Sep 16, 2023, 7:22 AM Mike Taylor wrote: > LGTM2 > On 9/16/23 8:22 AM, Yoav Weiss wrote: > > LGTM1 > > Very neat!! That would definitely have simplified some testing code I > recently wrote :) > > On Fri, Sep 15, 2023 at 1:50 AM 'Shu-yu Guo' via blink-dev < > blink-dev@chromium.org