what is the coroutines equivalent of caching the current context to continue there at a later point? something like
Scheduler.trampoline()
l
louiscad
06/24/2018, 11:02 AM
val context = coroutineContext
in Kotlin 1.2.50
👍 1
c
charbgr
06/26/2018, 8:47 PM
doesn’t Unconfined work for you?
p
pakoito
06/26/2018, 8:59 PM
That works to launch one on the current thread, not on the thread you were on a previous scope. It doesn't attach to a thread on creation but on launch.