Add doFor function that runs the callback on every update until the timer expires.
Write some tests for the new function.
Update the readme