rednifre
07/09/2024, 5:38 PMscope.launch { either { val x = x().bind shouldn’t compile, because x() needs to be called from a coroutine scope.
either { scope.launch { val x = x().bind should fail at runtime, since the bind exception can’t be caught by the either, right?
So, what can I do?Stylianos Gakis
07/09/2024, 6:18 PMrednifre
07/09/2024, 6:20 PMYoussef Shoaib [MOD]
07/09/2024, 6:33 PMeither is inline, so it's transparent to suspendrednifre
07/09/2024, 8:46 PM