See #8
Calling suspend functions is impossible from Java as the Continuation interface appears to expect a sealed class that has an internal Kotlin class
API suggestions
(Suggestions are tentative as of now)
For single-value suspend functions
We could expose methods that return one of the following:
For methods that return a Flow
We could expose methods that return one of the following:
See #8
API suggestions
(Suggestions are tentative as of now)
For single-value
suspendfunctionsWe could expose methods that return one of the following:
CompletableFutureCoroutineScope#futureListenableFutureCoroutineScope#futureSinglerxSingleSinglerxSingleFor methods that return a
FlowWe could expose methods that return one of the following:
Flow.PublisherFlow.asPublisherFlowableFlow.asFlowableFlowableFlow.asFlowable