interface BlockWithIndex<T : Any!>
Represents a command that can be executed and stores the index.
apply
abstract fun apply(input: T, index: Int): Unit
Starts executing the active part of the class' code.