1 will create a memory leak because you're returning the result of the subsequent calls recursively, will keep allocating closures that are never cleaned up
So owning on my side, I was triggered by this post and reacted in the wrong way. That's on me and a known issue I have been working to avoid. Apologies for that.
took 3 years of attempts but looks like we were finally able to kill the need to use an adapter function and we can just yield* effects!
PR: github.com/Effect-TS/effe…
Please don't turn this into a dig to Next & Vercel, comments are already wild. If you are a developer you shipped bugs, period, be empathetic towards other developers.
Show me a piece of code that includes telemetry, metrics, graceful shutdown, bounded concurrency, selective error retries with capped exponential backoff and that is testable and easily composable with the rest of your code and I will agree that Effect is not needed.
I am not gonna delete my replies because I don't really want to hide the history. I have been fighting burnout from open source entitlement for a long time and I perceived this post as such even though it was instead a frustration tweet.