> > Isn't the problem we actually need to solve here the fact we're not able > to control scheduling or context in async functions? > Other languages with async functions like Python and C# provide the means > to control the scheduling of async functions. >
Algebraic effects also allows the side-effect itself (e.g. the network request), to be intercepted in a context. Zones doesn't let you do that. However async is only part of the problem. See Ben Newman's describing the capabilities of generators that are not available to async functions. There are many use cases for generators that are not limited to the "async" use case and those still have to be solved. So, yes, that's a limitation but not the only limitation.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

