Fernando Sanchez (Perraco Labs)
12/13/2024, 3:12 PMwithContext(IO) inside another withContext(IO) produce a thread switch, even if both use the same dispatcher? Or, when exiting the nested withContext(IO), is it guaranteed that execution will continue on the same thread without a switch, since the dispatcher is the same?streetsofboston
12/13/2024, 3:30 PMKarolK
12/14/2024, 9:33 AMDispatchers.Main.immediate which is the only one which gives that guarantee.