From Discord: Proposed Do Notation Syntax: `bindAll` with Unbounded Concurrency
Summary
The conversation revolves around a proposed addition to the Do notation syntax in the Effect-TS ecosystem. Here are the key points:
-
Proposal: Jesse Kelly suggests adding a
bindAllfunction with unbounded concurrency to the Do notation syntax. The idea is to allow multiple parts of abind()to be applied simultaneously and potentially in parallel. -
Correction: Michael Arnaldi points out that the initial syntax proposed by Jesse Kelly is incorrect. The corrected syntax should be:
bindAll(() => ({ key: Effect }), { concurrency: "unbounded" }) -
Acknowledgment: Jesse Kelly acknowledges the correction and explains the initial mistake was due to typing on a phone.
-
Feasibility: Michael Arnaldi mentions that the proposed addition could probably be implemented.
Key Takeaways:
- There is a proposal to enhance the Do notation syntax with a
bindAllfunction that supports unbounded concurrency. - The correct syntax for this proposal has been clarified.
- The proposal is considered feasible and could potentially be added to the Effect-TS ecosystem.
Discord thread
https://discord.com/channels/795981131316985866/1275004158021210113