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

Skip to content

Conversation

@adamgfraser
Copy link
Contributor

Currently we return a ZManaged returning a ZManaged returning a ZStream. The first ZManaged represents the scope of resources used by the original stream whereas the inner represents the scope of a single subscription to the broadcast. But since a stream can be resourceful we don't need the inner ZManaged and the returned stream can simply describe the workflow of subscribing to the broadcast, consuming values from it, and unsubscribing when done.

@adamgfraser adamgfraser requested a review from iravid as a code owner April 11, 2021 18:06
@adamgfraser adamgfraser merged commit 0699c11 into zio:master Apr 11, 2021
@adamgfraser adamgfraser deleted the broadcast branch April 11, 2021 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants