Skip to content

Deprecation and migration of receiveOrNull and onReceiveOrNull. #2612

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

Merged
merged 2 commits into from
Apr 6, 2021

Conversation

qwwdfsad
Copy link
Collaborator

* Raise deprecation level for members, introduce deprecation for extensions
* Explain rationale behind deprecation
* Provide default implementation for deprecated members in Channel interface
* Get rid of the internal implementation, leverage receiveCatching
* Introduce new extensions for ChannelResult and use them as replacement in our own operators

Fixes #1676

@qwwdfsad qwwdfsad force-pushed the channels-api-migrations branch 3 times, most recently from 67de661 to d789897 Compare March 27, 2021 16:18
    * Raise deprecation level for members, introduce deprecation for extensions
    * Explain rationale behind deprecation
    * Provide default implementation for deprecated members in Channel interface
    * Get rid of the internal implementation, leverage receiveCatching
    * Introduce new extensions for ChannelResult and use them as replacement in our own operators

Fixes #1676
@qwwdfsad qwwdfsad force-pushed the channels-api-migrations branch from d789897 to 5baffb9 Compare March 27, 2021 18:54
@qwwdfsad qwwdfsad requested a review from elizarov March 27, 2021 19:24
@qwwdfsad qwwdfsad requested a review from elizarov April 6, 2021 10:29
@qwwdfsad qwwdfsad merged commit 98532c9 into develop Apr 6, 2021
@qwwdfsad qwwdfsad deleted the channels-api-migrations branch April 6, 2021 14:25
pablobaxter pushed a commit to pablobaxter/kotlinx.coroutines that referenced this pull request Sep 14, 2022
…in#2612)

* Deprecation and migration of receiveOrNull and onReceiveOrNull.

    * Raise deprecation level for members, introduce deprecation for extensions
    * Explain rationale behind deprecation
    * Provide default implementation for deprecated members in Channel interface
    * Get rid of the internal implementation, leverage receiveCatching
    * Introduce new extensions for ChannelResult and use them as a replacement in our own operators

Fixes Kotlin#1676
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