Theo should use Effect
Thanks for watching! Theo's Video: • The Dangers Of Promise.all() Live Example Site: https://theo-effect-promise.vercel.app/ Github Repo For This^^ Site: https://github.com/ethanniser/theo-ef... My 30min "Effect For Beginners" Tutorial: • Effect for Beginners Effect Website/Docs: https://effect.website/ Thisweekinreact Seb's Tweet: / 1691510563162013696 Quick note about the semantics of "promise.all 'runs' all the promises you pass to it" This isn't really how things work, promises execute on creation, promise.all is just awaiting all of their results at the same time. For the purposes of limiting concurrency, you want to delay this executation which is why in the async queue the input type is (function that returns promise)[], because by putting the creation of the promise behind a function call you can delay its execution. TDLR it was a simplification I made for the video FOLLOW ME ON TWITTER- / ethanniser VS Code: Font - Fira Code Theme - Material Theme Darker Gear: Microphone - Shure SM58 Headphones - Philips SHP9500 Interface - Focusrite Scarlett 2i2 Timestamps: 0:00 Intro 1:07 Two Ways to Handle Errors 2:08 Recapping Theo's Example 3:21 The Problem with Theo's Example 3:57 Effect.all over Promise.all 4:53 Converting Theo's Example to Effect 7:15 Collecting Errors in Effect with 'Either' 8:42 Maybe We Want to Short Circuit? 9:33 Basic Interruption 10:44 Effectful Interruption 11:34 Controlling Concurrency 12:39 Async is hard, Effect makes it better Corrections: 11:42 Not exactly how things actually work, check description

Effect: the unreadable library that captured my heart

This Button Broke Our Brains (CSS Challenge)

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

They're Poisoning the Agents!

Why I stopped using react query (and you might soon too)

Maybe I Was Wrong About Effect... (is it really worth it?)

I reviewed Pirate Software's code. Oh boy...

The most important function in my codebase

I'm Ditching Try/Catch for Good!

So I've Been Trying Other Languages...

The BETH Stack: Build Hypermedia-Driven Web Apps with Great DX and Performance

Effect for Beginners

I Stopped Using Express.js: Because Bun and Hono 🔥

2 years later its still happening

You really need to try Effect ft. Ethan Niser

The World Is Not Ready For Jai

Why Effect is more important than ZIO by John A. De Goes (Effect Days 2024)

Is this "Next-Generation TypeScript"?

Did Zig Fix Async / Await?

