Run For Task
A runnable that will run until timeout.
Parameters
timeout
The time to run the task for
callback
The callback to run every loop
constructor(@NonNull timeout: Measure<Time>, @NonNull callback: Runnable, @NonNull finishCallback: Runnable)
A runnable that will run until timeout, with a finish callback.
Parameters
timeout
The time to run the task for
callback
The callback to run every loop
finish Callback
The callback to run after this task finishes