Initialization

Application initialization hooks.

Functions

Link copied to clipboard
fun initializeOnWarmup(callable: suspend () -> Unit)

Initialize some server component at server warmup, using the provided callable; exceptions thrown from the callable are ignored.

Link copied to clipboard
fun initializeWithServer(callable: suspend () -> Unit)

Unconditionally initialize some server component before the application starts.