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

Nikky

02/08/2020, 12:15 PM
what is the shortest code to follow the
same thread enforcement
of a library? i need to store what thread something was created on and then switch back to it whenever interacting with it i just nee the right keyword to look for, not even sure what to look for
g

gildor

02/08/2020, 2:17 PM
Do you just want to do some operation on a single thread? You can create new single thread dispatcher and launch coroutine using it
2 Views