Ryan Smith04/04/2023, 5:19 PM
Casey Brooks04/04/2023, 5:43 PM
is to provide a lifetime during which coroutine operations can execute, so when thinking about how coroutineScopes relate to remote data sources, the question naturally becomes: what is the lifetime of the remote connection? And what would you hope to gain by creating your own coroutineScope rather than exposing suspend functions or flows, thus delegating the lifetime of the remote connection to something like
whose lifetime you don’t have to manage yourself?
Ryan Smith04/04/2023, 6:04 PM
stojan04/04/2023, 6:08 PM
Patrick Steiger04/04/2023, 6:16 PM
Ryan Smith04/04/2023, 8:52 PM