Martin Bonnin
Martin Bonnin
I think the Kotlin syntax also works in Groovy so might be worth merging both?
Can we reopen this one? With latest `main`, multiplatform projects are skipped with `No main source set. No analysis performed`. Also, multiplatform publication have a "common" publication that is used...
Using `runCatching {}` is tempting to handle the I/O errors described in https://elizarov.medium.com/kotlin-and-exceptions-8062f589d07. There are some cases where listing all possible exceptions is complex, especially when they come from deeply...
> As noted in #1814 (comment) Flow.catch {} does re-throw CancellationException. Indeed. I understand that Flow is in the coroutine world and `runCatching` is not, so it somehow makes sense....
This came as a discussion on slack and I found it strange that this API wasn't there since the `combine` equivalent exists and also there's a `zip` for 2 Flows...
@VuHongKy IIRC, retrofit calls are single-shot so using `combine` should work like any potential `.zip()`? In general, I opened this issue because I wanted to "combine" multiple values. [Zip semantics](https://reactivex.io/documentation/operators/zip.html)...
@dfings Right! Sorry I wasn't sure about this one. If each Flow has a given number of items and the resulting Flow requires the same number of items then indeed...
@thagikura thanks for looking into this. The crash happens on a Nexus 9 tablet with Android 6.0. I tried to reproduce on a Pixel 3 XL but the crash did...
@bgorkowy I workaround'd the issue for now
I have just been aware of this:https://github.com/Kotlin/kotlinx.coroutines/issues/974 Long story short, channel.offer might throw and we might need to catch any exception thrown. It's not 100% clear to me if it's...