azabost
06/22/2022, 7:40 PMsuspend fun ?
I’m asking about it only because I’m trying to optimise some modules’ dependencies (e.g. get rid of unnecessary implementation / api dependencies)ephemient
06/22/2022, 7:46 PMsuspend fun may not need any external dependencies; the compiler and stdlib contain core coroutines functionality. but many things you may want to do in a suspending function will depend on the kotlinx.coroutines libraryNick Allen
06/22/2022, 8:43 PMCoroutineScope Job launch delay CoroutineDispatcher.Adam Powell
06/22/2022, 11:37 PMsuspendCancellableCoroutine is going to mean that any suspend functions you write this way won't be cancellable either (unless you're calling something else that brings in kotlinx.coroutines as a transitive dependency)ephemient
06/22/2022, 11:41 PMazabost
06/24/2022, 6:02 AMAdam Powell
06/24/2022, 2:07 PM