When calling a "suspend" method from Java we can u...
# announcements
When calling a "suspend" method from Java we can use CompletableFuture, is there a similar Java counterpart when calling a method that returns a Flow<>?
use one of the coroutines add-on packages to transform it to an RxJava Flowable or a JDK Flow.Publisher
Will take a look, do you happen to have any samples to share? I should have probably asked this question in the multiplatform channel, but how would it work calling from iOS side?
There's also the #coroutines channel for flow questions
Just call Flow.asPublisher() to convert it to Publisher, which can be easily consumed from Java
I’m not sure what you’d adapt it to on the iOS side - some library that implements the reactive streams/observable concept, presumably.