bobby
01/23/2019, 11:30 AMsimon.vergauwen
01/23/2019, 11:34 AMfun (suspend () -> A).startCoroutine(cont: Continuation<A>)simon.vergauwen
01/23/2019, 11:35 AMsuspendCoroutine builder to achieve your use case if I'm not mistaken.simon.vergauwen
01/23/2019, 11:36 AMDeferred but was unsuccessful but with regular suspend functions this should work.bobby
01/23/2019, 11:58 AMtoken.link() on each resumesimon.vergauwen
01/23/2019, 12:00 PMbobby
01/23/2019, 12:01 PMbobby
01/23/2019, 12:04 PMvoddan
01/24/2019, 10:13 AMbobby
01/24/2019, 11:59 AMContinuationInterceptor and how dispatchers implement that interface. Sadly interceptContinuation seems to be final in CoroutineDispatcher base class so I don't see ways to use it while still using existing dispatchers (default, IO, etc.)voddan
01/24/2019, 12:11 PM