Join Slack
Powered by
will coroutine use single thread model or multi th...
# announcements
c
Chills
01/26/2020, 4:44 PM
will coroutine use single thread model or multi thread model behind the scene?
a
Andrew
01/26/2020, 5:01 PM
Depends on the dispatcher used. One thing to note is they are inherited from whatever calls it AND default is different than not specifying anything which is what you'd typically expect.
https://kotlinlang.org/docs/reference/coroutines/coroutine-context-and-dispatchers.html#dispatchers-and-threads
3
Views
Open in Slack
Previous
Next