on

fun on(phase: GearyPhase, run: () -> Unit)

Allows defining actions that should run at a specific phase during startup

Within its context, invoke a GearyPhase to run something during it, ex:

GearyLoadPhase.ENABLE {
// run code here
}