addIsFinished

infix fun addIsFinished(isTaskFinished: BiFunction<Task, Boolean, Boolean>): DynamicTask
fun addIsFinished(isTaskFinished: Predicate<Boolean>, ktCompatUnusedIgnore: Any? = null): DynamicTask

Adds additional isFinished code to evaluate alongside the current isFinished condition.

This function takes in a boolean being the current isFinished evaluation, and returns the new isFinished evaluation.