[go-nuts] Re: ANN: Priority channels: re-order values sent over a channel

2024-10-07 Thread twp...@gmail.com
Thanks Jason, this is great feedback. I've added a context argument in https://github.com/twpayne/go-heap/pull/6. Regards, Tom On Sunday, October 6, 2024 at 9:58:43 PM UTC+2 Jason E. Aten wrote: > Hi Tom, > > This is an interesting project. > > Per your request for feedback: on quick inspection

[go-nuts] Re: ANN: Priority channels: re-order values sent over a channel

2024-10-06 Thread Jason E. Aten
Hi Tom, This is an interesting project. Per your request for feedback: on quick inspection, I would certainly want also a way to close down the priority channels too. Some sort of Close() method that would stop all running goroutines from behind-the-scenes, so they do not leak, would be impor