oneshot icon indicating copy to clipboard operation
oneshot copied to clipboard

Add separate `AsyncReceiver` type instead of implementing `Future` directly on the `Receiver`

Open faern opened this issue 9 months ago • 0 comments

This PR adds a separate type, AsyncReceiver, that implements Future, instead of implementing it directly on the Receiver type. Now the Receiver implements IntoFuture instead.

This change removes the possible panics in many recv* methods, and it simplifies some code a bit.

This is a breaking change. So it is scheduled for the 0.2 release.

faern avatar Feb 21 '25 22:02 faern