https://kotlinlang.org logo
#coroutines
Title
# coroutines
a

Amir hossein Abdolmotallebi

08/22/2022, 9:10 AM
s

Sam

08/22/2022, 9:34 AM
That’s expected behaviour when you use
runBlocking
, because
runBlocking
won’t return until all of its child jobs have completed
In other words, the
numbers
property won’t return a value until the entire flow has terminated
I responded to the StackOverflow thread also 👍
6 Views