Post AcH91XIqvjUE9GjUIq by demivan@fosstodon.org
 (DIR) More posts by demivan@fosstodon.org
 (DIR) Post #AcF3IEZaphycwMDp44 by patak@m.webtoo.ls
       2023-11-27T19:40:08Z
       
       0 likes, 0 repeats
       
       Nice! @robpalmer just shared that```jsconst { promise, resolve, reject } = Promise.withResolvers();```reached Stage 4 today!Proposal by peetklecha:https://github.com/tc39/proposal-promise-with-resolversMDN Docs:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolversReal world example in @vite that will be simplified by it in the futurehttps://github.com/vitejs/vite/blob/134ce6817984bad0f5fb043481502531fee9b1db/playground/test-utils.ts#L225
       
 (DIR) Post #AcH7Bi9HGHgIlyyh7Y by patak@m.webtoo.ls
       2023-11-28T19:33:13Z
       
       0 likes, 0 repeats
       
       @robpalmer @vite While we wait. Only two use cases at the end, but the one in the optimizer is way more readable with `Promise.withResolvers()`https://github.com/vitejs/vite/pull/15171
       
 (DIR) Post #AcH91XIqvjUE9GjUIq by demivan@fosstodon.org
       2023-11-28T19:53:46Z
       
       0 likes, 0 repeats
       
       @patak @robpalmer @vite Yay, jQuery Deferred is back 🙂
       
 (DIR) Post #AcH9HONRssFD6BRXRQ by patak@m.webtoo.ls
       2023-11-28T19:56:40Z
       
       0 likes, 0 repeats
       
       @demivan @robpalmer @vite jQuery never left, it just melted itself into the web