simon.vergauwen
10/02/2023, 10:29 AMsuspend in the Application? 🤔 It's an integration, so my signature looks something like this fun Application.integration(block: suspend IntegrationPlugin.() -> Unit): ?. ? can be Job, or IntegrationPlugin.
Is the proper way to just use launch { } on the Application? The code running inside should get cancelled on ApplicationStopping anyway.Chris Athanas
10/02/2023, 7:30 PMsimon.vergauwen
10/02/2023, 7:32 PMsuspend only those explicitly marked by suspend.
The module function of Ktor is non-suspending, only the route functions are suspending.