dave08
02/05/2018, 4:36 PMlaunch(UI)
is not reached at all after it was run? And the screen in Android device goes black... I tried putting logs there, reducing it to doing almost nothing (only Log
...)... the screen just blanks outmansonheart
02/05/2018, 4:49 PMgroostav
02/06/2018, 12:43 AMrunBlocking
is almost exclusively for `@Test fun`'s.dave08
02/06/2018, 3:40 AMelizarov
02/06/2018, 8:32 AMrunBlocking
is invoked from Android UI thread?dave08
02/06/2018, 9:21 AMrunBlocking
could be temporarily used to surround some suspending operation that will for sure return quickly in certain circumstances (like api that will for sure be pulling a value from a cache at certain points). In that case, maybe a compiler warning might be warrented instead of failfast, as a reminder to not keep the code that way...
That was the devs mistake, an operation that was migrated took too long... and making major changes to adapt to coroutines best practices all in one shot was trying to be avoided at that point...
Maybe opt-out failfast, with warning option?elizarov
02/06/2018, 9:26 AMdave08
02/06/2018, 10:45 AMelizarov
02/06/2018, 6:08 PM