when
Call to access the when() scheduler from the Scheduler. This is the same as calling scheduler().when()
. This is used to create a conditional command based on a boolean supplier.
Return
task creation
Parameters
condition
the condition to be checked