Alexander Maryanovsky
03/04/2022, 8:14 AMCoroutineContext
is basically the coroutines’ equivalent of ThreadLocal
. Why don’t the tutorials say this? Would make understanding so much faster…Sam
03/04/2022, 8:17 AMSam
03/04/2022, 8:18 AMAlexander Maryanovsky
03/04/2022, 8:43 AMAlexander Maryanovsky
03/04/2022, 8:44 AMAlexander Maryanovsky
03/04/2022, 8:52 AMSam
03/04/2022, 8:57 AMSam
03/04/2022, 8:57 AMAlexander Maryanovsky
03/04/2022, 8:59 AMSam
03/04/2022, 9:04 AMThreadLocal
is `CoroutineContext`". So maybe this is something that could be mentioned in the documentation. I agree with you that it would give a good starting point for understanding, even if the comparison is inexact.