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.