nextCommand

fun <C : Any> nextCommand(commandType: Class<C>): CommandMessage<C>
inline fun <C : Any> nextCommand(): CommandMessage<C>