-
Couldn't load subscription status.
- Fork 1.4k
Add back ZStream.Take #3669
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 back ZStream.Take #3669
Conversation
|
This is looking great @luis3m. Much much improved ergonomics. |
|
@iravid done, just moved |
| @deprecated("use zio.stream.Take instead", "1.0.0") | ||
| type Take[+E, +A] = Exit[Option[E], Chunk[A]] | ||
|
|
||
| object Take { |
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.
Let's deprecate the Take.End in here too.
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.
@iravid done
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.
Looks great to me. @regiskuckaertz @simpadjo Would you like to review as well?
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.
Awesome!
|
Sorry, can't review carefully right now. Generaly looks good! |
Closes #3653
Taketype alias toTakeExittemporarilyTakedatatypeZStream#aggregateAsyncWithinEitherZStream#bufferSignalZStream#bufferDroppingZStream#bufferSlidingZStream#bufferUnboundedZStream#collectWhileSuccess? (seems not)ZStream#combine?ZStream#combineChunks?ZStream#intoZStream#intoManagedZStream#mergeWithZStream#toQueueZStream#toQueueUnboundedPull.fromDequeuePull.fromTakejvm.ZStreamPlatformSpecificConstructors.effectAsyncInterruptjvm.ZStreamPlatformSpecificConstructors.effectAsyncMjvm.ZStreamPlatformSpecificConstructors.effectAsyncMaybeTakeExitTake