Skip to content

Commit 7b16fcc

Browse files
committed
docs: add reset method to readme
1 parent 25f73af commit 7b16fcc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ Clears the internal timer.
5151

5252
Aborts the controller and clears the internal timeout.
5353

54+
### `timeoutController.reset()`
55+
56+
Clears the timer and sets the internal timeout to occur after the `ms` timeout it was created with.
57+
5458
## Related
5559

5660
- [`abort-controller`](https://github.com/mysticatea/abort-controller)

0 commit comments

Comments
 (0)