Agreed - all abnormal thread termination (flow control) is tricky. That’s why I would be against creating another model for generators. I think leveraging existing signaling and clean up mechanisms is the way forward. I personally find all of the functional APIs (like streams) a mess unless used in a pure function (no exceptions or errors) context. This (and structured concurrency tbh) feels like it is morphing into another streams mess rather than a simple solution that solves the 80% case. On Jan 13, 2026, at 8:27 AM, Viktor Klang <[email protected]> wrote:
|
- Re: [External] : Re: Ephemeral threads Viktor Klang
- Re: [External] : Re: Ephemeral threads Alex Otenko
- Re: [External] : Re: Ephemeral threads Robert Engels
- Re: [External] : Re: Ephemeral threads Viktor Klang
- Re: [External] : Re: Ephemeral threads Alex Otenko
- Re: [External] : Re: Ephemeral threads Michael van Acken
- Re: [External] : Re: Ephemeral threads Andrew Haley
- Re: [External] : Re: Ephemeral threads Michael van Acken
- Re: [External] : Re: Ephemeral threads Robert Engels
- Re: [External] : Re: Ephemeral threads Viktor Klang
- Re: [External] : Re: Ephemeral threads Robert Engels
- Re: [External] : Re: Ephemeral threads Andrew Haley
- Re: [External] : Re: Ephemeral threads Alan Bateman
- Re: [External] : Re: Ephemeral threads Alex Otenko
- Re: [External] : Re: Ephemeral threads Remi Forax
- Re: [External] : Re: Ephemeral threads Alex Otenko
- Re: [External] : Re: Ephemeral threads Robert Engels
- Re: [External] : Re: Ephemeral threads Remi Forax
- Re: [External] : Re: Ephemeral threads Alan Bateman
- Re: Ephemeral threads Andrew Haley
- Re: Ephemeral threads Michal Domagala
