The actual response to the request is sent immedia...
# ktor
m
The actual response to the request is sent immediately, the delayed query doesn't affect anything other than the database
d
As Marshall Pierce suggested, you can do a launch + delay. Something like this should work:
Copy code
launch(DefaultDispatcher) {
    delay(30L, TimeUnit.SECONDS)
    // do the query
}
call.respond(...)
m
Ah, this makes sense. Thank you!