Join Slack
Powered by
is there a function to iterate over Flux in a coro...
# coroutines
d
dstarcev
09/11/2018, 10:18 AM
is there a function to iterate over Flux in a coroutine context? Something like this:
Copy code
someFlux.forEach { val result = callAnotherSuspendingFunction(it) doSomethingElse(result) }
dstarcev
09/11/2018, 10:18 AM
this forEach is suspended itself
16
Views
Open in Slack
Previous
Next