However, this section <https://github.com/Kotlin/k...
# coroutines
e
However, this section https://github.com/Kotlin/kotlin-coroutines/blob/revision-2/kotlin-coroutines-informal.md#channels gives an example of
go{...}
builder that dispatches your coroutines on a mutlithreaded pool Go-style. It means, that if you do
go { oneComputation() }
and
go { anotherComputation() }
then both computations can potentially run concurrent in different threads (just like in Go), so if there is a shared mutable state between them, then you have to be careful.
K 1