https://kotlinlang.org logo
#coroutines
Title
# coroutines
s

Saša Šijak

11/21/2018, 3:33 PM
is Dispatchers.IO correct coroutine context to execute sql db queries in ktor app?
j

Jonathan

11/21/2018, 3:39 PM
Sounds like the correct dispatcher yes. Unless you have the opportunity to use a truly asynchronous access to the database, which would be even better.
2 Views