Skip to content

Commit

Permalink
update documentation to include restart()
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonray authored Oct 23, 2023
2 parents b8398fb + 1fad8d5 commit e591c1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const stopwatch = new statman.Stopwatch();
### stop, suspend
- `stop()` => stops the stopwatch, and returns the time elapsed in milliseconds

### restart
- `restart()` => performs a stop() and start()

### split
- `split()` => temp stops the stopwatch, allow read() to return time based on when split occurs. Use `unsplit()` to resume the stopwatch

Expand Down

0 comments on commit e591c1e

Please sign in to comment.