Kim Thu Đoàn
New member
Which method is used to attach a predicate to a skipping task?
Answer
Using a predicate. You can use the onlyIf() method to attach a predicate to a task. The task’s actions are only executed if the predicate evaluates to true. You implement the predicate as a closure.
Answer
Using a predicate. You can use the onlyIf() method to attach a predicate to a task. The task’s actions are only executed if the predicate evaluates to true. You implement the predicate as a closure.