Generators and object ports Lassi Kortela 11 Dec 2019 17:56 UTC
> I wish there were a standard way to tell generators to clean up their > state, if any. I.e. you'd have a way to call `read` and `close` on a generator. That would make them almost identical to object ports.