Skip to content
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

ReceiveChannel.receiveAsFlow extension #1731

Merged
merged 2 commits into from Dec 26, 2019
Merged

ReceiveChannel.receiveAsFlow extension #1731

merged 2 commits into from Dec 26, 2019

Conversation

elizarov
Copy link
Contributor

  • Experimental ReceiveChannel.receiveAsFlow extension convert channel to flow in fan-out fashion allowing for multi-use.
  • Also, ReceiveChannel.consumeAsFlow is promoted to experimental from preview

Fixes #1490

* Experimental ReceiveChannel.receiveAsFlow extension convert channel to flow in fan-out fashion allowing for multi-use.
* Also, ReceiveChannel.consumeAsFlow is promoted to experimental from preview

Fixes #1490
Copy link
Member

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

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

Awesome

kotlinx-coroutines-core/common/src/flow/Channels.kt Outdated Show resolved Hide resolved
kotlinx-coroutines-core/common/src/flow/Channels.kt Outdated Show resolved Hide resolved
@qwwdfsad qwwdfsad merged commit 345458b into develop Dec 26, 2019
@qwwdfsad qwwdfsad deleted the receive-as-flow branch December 26, 2019 09:59
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.

None yet

2 participants