cats-effect
cats-effect copied to clipboard
Add peek method to Queue
The original fs2.Queue had a peek method on its interface. The Queue in Cats Effect doesn't have this. It would be good to add it, as it makes the migration to Cats Effect 3 easier.
I may take it :)
Thanks, much appreciated! Unfortunately I'm not sure if it's possible to implement this one in a backwards-compatible way, see some commentary in https://github.com/typelevel/cats-effect/issues/2637#issuecomment-991954088.