lifecycle

fun lifecycle(vararg commands: Class<*>)

Enables only the lifecycle commands commands; all are enabled unless this is called, and calling it with none disables them. A command disabled is not handled, as any command the model does not decide; the lifecycle events stay readable. A decide function declared for a lifecycle command enables it too.