-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stopwatch Lap Duration #98
Conversation
Sorry for the CI failure, it's fixed by #100. |
Hi, I like this idea, this feature is indeed missing! What about adding a By the way you can rebase now, this will fix the CS issue. |
540d459
to
9cef2f2
Compare
Thanks, I've added that method, let me know if there's anything I've missed. |
Apart from this, returning the duration in |
9cef2f2
to
cbc898f
Compare
Thank you, @rodnaph! |
Released as 0.6.3. |
Return the lap duration when stopping the
Stopwatch
, which will be the duration since the last start.If the stopwatch is not started, then the duration will be zero.
Use case - using a stopwatch to perform multiple duration timings, and then fetch the total elapsed time at the end (I can't see this is possible now, please direct me if I've just overlooked it though).
Note: CI failure does not seem related to my changes, as above though let me know if I missed something.