Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@luis3m
Copy link
Contributor

@luis3m luis3m commented May 20, 2020

Closes #3653

  • Rename Take type alias to TakeExit temporarily
  • Add Take datatype
  • ZStream#aggregateAsyncWithinEither
  • ZStream#bufferSignal
  • ZStream#bufferDropping
  • ZStream#bufferSliding
  • ZStream#bufferUnbounded
  • ZStream#collectWhileSuccess? (seems not)
  • ZStream#combine?
  • ZStream#combineChunks?
  • ZStream#into
  • ZStream#intoManaged
  • ZStream#mergeWith
  • ZStream#toQueue
  • ZStream#toQueueUnbounded
  • Pull.fromDequeue
  • Pull.fromTake
  • jvm.ZStreamPlatformSpecificConstructors.effectAsyncInterrupt
  • jvm.ZStreamPlatformSpecificConstructors.effectAsyncM
  • jvm.ZStreamPlatformSpecificConstructors.effectAsyncMaybe
  • Delete TakeExit
  • Code Cleanup
  • Add documentation for Take

@iravid iravid added the stream ZIO Stream label May 21, 2020
@iravid
Copy link
Member

iravid commented May 21, 2020

This is looking great @luis3m. Much much improved ergonomics.

@luis3m
Copy link
Contributor Author

luis3m commented May 22, 2020

@iravid done, just moved Take to its own file

@luis3m luis3m marked this pull request as ready for review May 22, 2020 21:52
@deprecated("use zio.stream.Take instead", "1.0.0")
type Take[+E, +A] = Exit[Option[E], Chunk[A]]

object Take {
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iravid done

iravid
iravid previously approved these changes May 23, 2020
Copy link
Member

@iravid iravid left a 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?

regiskuckaertz
regiskuckaertz previously approved these changes May 23, 2020
Copy link
Member

@regiskuckaertz regiskuckaertz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@simpadjo
Copy link
Contributor

Sorry, can't review carefully right now. Generaly looks good!

@luis3m luis3m dismissed stale reviews from regiskuckaertz and iravid via abccf77 May 23, 2020 14:51
@iravid iravid merged commit c42177f into zio:master May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stream ZIO Stream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make ZStream.Take easier to use

4 participants