std.Io.Select: introduce cancelDiscard

and make the return value of `cancel` return queue items.

I don't think it's possible to make `cancel` not deadlock with an empty
queue buffer without introducing a new Group primitive.

This is the best I could come up with based on existing primitives.
Let's see if applications find these APIs palatable.
8c70fd0a57Andrew Kelley committed on 2/28/2026, 12:46:43 AMparente779ca7
2 files changedLine totals unavailable