Optional
becauseAn optional check function that can be used to stop a Watcher after its last step, if the check function returns false
Optional
beginOptional
doAn optional function that will be run per step the Watcher takes
Optional
endOptional
everyAn optional amount of time to define how often a Watcher steps. Defaults to Chrono.milliseconds(100)
Optional
forAn optional amount of time to define how long a Watcher runs. Defaults to Chrono.seconds(5)
Optional
unlessAn optional check function that can be used to stop a Watcher before its step, if the check function returns true
Optional
untilAn optional check function that can be used to stop a Watcher after its last step, if the check function returns true
Optional
whileAn optional check function that can be used to stop a Watcher before its step, if the check function returns false
Configuration that can be applied when building a new Watcher