Mohamed Ibrahim
02/18/2020, 10:43 PMasync and await ?Zach Klippenstein (he/him) [MOD]
02/18/2020, 10:56 PMasync, that dispatcher will be used to run the block. await uses the dispatcher in the current context, which you can change with withContext.Mohamed Ibrahim
02/18/2020, 10:57 PMZach Klippenstein (he/him) [MOD]
02/19/2020, 12:48 AMawait doesn't really "use" a dispatcher, it just suspends the current coroutine.bdawg.io
02/19/2020, 1:52 AMawait will receive the value in the current context, so there MAY be benefits if you have to utilize that value inside that context as well.