Hello everyone, a beginner's question: Do we have ...
# ktor
g
Hello everyone, a beginner's question: Do we have an app startup hook that we can use to load some data in a database? Or is there such a functionality built into Ktor? Thanks 🙂
s
Cant you just do it in your main method?
g
I could probably do it there, I was wondering if there's something built into the framework.
s
https://ktor.io/servers/lifecycle.html but I see no reason to wait
g
Thanks 🙂