Join Slack
Powered by
Where would be the right place to run some functio...
# ktor
l
Levi
10/30/2023, 4:32 PM
Where would be the right place to run some functions (in my case, happens to be querying a kafka stream) in order to stuff some data into memory when ktor application starts up? Is
environment.monitor.subscribe(ApplicationStarted) { }
the right place to do this or nah?
e
e5l
10/31/2023, 5:20 AM
Hey
@Levi
, yep!
Open in Slack
Previous
Next