initializeOnWarmup

fun initializeOnWarmup(callable: suspend () -> Unit)

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

If warmup is disabled, no callables in this category are executed.

Parameters

callable

Callable to execute.