beforeInit

abstract fun beforeInit(model: M)

Called right before the Init.init function is called.

This method mustn't block, as it'll hinder the loop from running. It will be called on the same thread as the init function.

Parameters

model

the model that will be passed to the init function