-
Couldn't load subscription status.
- Fork 1.4k
Add ZSink.splitOn
#2006
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 ZSink.splitOn
#2006
Conversation
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.
Great addition.
Just an idea. Would a final def splitWith(p: A => Boolean): ZSink[Any, Nothing, A, A, Chunk[A] combinator make sense?
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.
👍
|
Yes |
|
Will review tonight! |
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.
Love it! Awesome work @regiskuckaertz!
I can add a maximum frame length if it makes sense, let me know what you think.
Closes #1965