How can I control time using a <scheduler> when te...
# ktor
h
How can I control time using a scheduler when testing a ktor server with
testApplication{}
? I have a websocket endpoint that on the server side polls a db for new changes with a set delay between polls, and I want to use virtual time when testing this endpoint.
a
Unfortunately, you can't. Please see this feature request.
h
Thanks, I gave it a vote 🙂