-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make cats.effect.std.PQueue
share cats.effect.std.Queue
trait
#3721
Comments
cats.effect.std.PQueue
extend cats.effect.std.Queue
cats.effect.std.PQueue
share cats.effect.std.Queue
trait
Sorry, now that I think about it: I can see an argument that However, Actually, this makes me wonder if a better hierarchy might have been Thoughts? |
For the specific problem I had I think extending For the next part would the If I'm following then it would give types hints for these types of questions that Java faces due to its shared queue interface. For me, the difference between a |
Yes, I think so too! I think we can definitely make this change.
Well, ideally we'd do this, but due to compatibility constraints we probably no longer can. i.e. the expectation is that |
Created #3733 for this, will update it to not be failing when I get chance
I can't think of a word for an |
true, at the moment we don't have a usecase for it. |
added a PR #3930 to follow up on this |
Fixed by #3930. |
Currently
PQueue
extends PQueueSource and PQueueSink ran into a problem where trying to use fs2.Stream#fromQueueUnterminating led to a type error on aPQueue
so following a convo on discord the trait's be linked or unifiedThe text was updated successfully, but these errors were encountered: