addStateChange

abstract fun addStateChange(onChange: Consumer<BaseTask.TaskState>)