-
Notifications
You must be signed in to change notification settings - Fork 130
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
Issue #1316: Kotlin - Remove unnecessary suspend modifier from asFlow and Uni builder #1323
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1323 +/- ##
============================================
+ Coverage 89.66% 89.90% +0.24%
- Complexity 3347 3359 +12
============================================
Files 459 459
Lines 13327 13327
Branches 1656 1656
============================================
+ Hits 11950 11982 +32
+ Misses 720 695 -25
+ Partials 657 650 -7
|
For developers, I would like get the similar experience between different impelementations. If possible to move this mutiny kotlin to |
that's indeed an interesting idea. would be trade of between convenience with the other coroutine-reactive extensions, but on the other side, add complexity as that requires separate versioning. In fact, I would like to keep the implementation here, but how about adding a kotlinx-coroutines-mutiny module, that includes mutiny-kotlin and just provides aliases? |
Mutiny implements JDK 9 Flow, currently I think we can use |
…ine Uni builder
Thank you, @hantsy, will become familiar with the existing coroutine-reactive implementations and consider your proposal. |
discussion about coroutines-reactive-mutiny to be followed up in #1325 |
Let's put this one on hold until we have a clear view on the next steps in #1325 |
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.
Ok, thanks @heubeck 👍
Tries to solve #1316
Fixes #1324
@hantsy, you're right, the
suspend
modifier is not needed forasFlow
.Your referenced implementation of kotlinx-coroutines-reactive would required an additional dependency, that's why I would prefer to stay with the own implementation, especially as it's also capable of buffer handling.