addState

suspend fun <S : IState> IState.addState(state: S, init: StateBlock<S>? = null): S