aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2021-08-06 20:37:07 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2021-08-06 20:37:07 +0200
commit96c25df59c02f51ea2f43d06b886ef3cc623e336 (patch)
tree7a0e4898dd4bd8f05570ecdf2f4df81c5cae90f7
parentfc5751ef0f25d408cd5c785a7b0d56bfd563e97a (diff)
downloadlua_async-96c25df59c02f51ea2f43d06b886ef3cc623e336.tar.xz
'Intervals' instead of 'Interval'
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 75a7d28..ac1931a 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ Registers a new timeout that will execute after `ms` milliseconds. If `ms` is no
#### `clearTimeout(id)`
This function takes an ID of an existing timeout that has not executed yet and cancels it, meaning it will not execute. If `id` is not numeric, not a valid timeout id or the associated timeout has expired or already been cleared, `clearTimeout` does nothing. `id` may however not be `nil`. `clearTimeout` may be called on any timeout at any time, if timeouts are currently processing the cleared timeout is removed from the list of timeouts to process.
-### Interval
+### Intervals
Intervals are processed every step after timeouts have been processed. An interval is called every time a certain time elapsed, or every step.