whenFalling

Run a task when a condition is met. This condition will be evaluated according to a falling-edge detection.

Return

Task scheduling builder

Parameters

condition

Supplier to provide a boolean value of when the task should be run.