Pueffl
01/23/2021, 2:23 PMYoussef Shoaib [MOD]
01/23/2021, 2:40 PMeither is usually intended to be used in suspending contexts and so by default that's what you first see. However IIRC there's either.eager {} that has the same exact comprehensions benefit of either {} but doesn't require to be called in a suspend function (because it internally uses @RestrictsSuspension to still be able to use delimited continuations to do the whole comprehensions and fail-fast bazzaz without allowing you to callnormal `suspend fun`s in an unsafe context.Pueffl
01/23/2021, 3:34 PMYoussef Shoaib [MOD]
01/23/2021, 4:24 PM