jw
withContext
Mustafa Ozhan
fun getActiveCurrencies() = currencyQueries .getActiveCurrencies() .asFlow() .flowOn(ioDispatcher) .mapToList(ioDispatcher)
suspend fun getActiveCurrencies() = withContext(ioDispatcher) { currencyQueries .getActiveCurrencies() .asFlow() .flowOn(ioDispatcher) .mapToList(ioDispatcher) }
suspend
flowOn(ioDispatcher)
A modern programming language that makes developers happier.