-
Couldn't load subscription status.
- Fork 1.4k
Add ZStream#debounce #3580
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
Add ZStream#debounce #3580
Conversation
4e80237 to
5fc5d7d
Compare
|
Rabased on top of #3424. These two failures seem to be unrelated. |
|
|
I can remove the top level type parameters (required to compile dotty) by deferring them to sealed abstract class State[+E, +O]
case object NotStarted extends State[Nothing, Nothing]
case class Previous[O](fiber: Fiber[Nothing, Chunk[O]]) extends State[Nothing, O]
case class Current[E, O](fiber: Fiber[Option[E], Chunk[O]]) extends State[E, O]
case object Done extends State[Nothing, Nothing] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Ah ok. That should be fixed. Can you open a follow up issue? |
|
Sure thing. |
Both JVM & JS tests passing on top of ZIO Test: Make TestClock Run Effects In Order #3424 as it guarantees to run the effects in the correct order.
Took two tests from Add ZStream.debounce #3521 (cc @reibitto) and added three more.
It does reset time