diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-08-06 20:37:07 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-08-06 20:37:07 +0200 |
commit | 96c25df59c02f51ea2f43d06b886ef3cc623e336 (patch) | |
tree | 7a0e4898dd4bd8f05570ecdf2f4df81c5cae90f7 | |
parent | fc5751ef0f25d408cd5c785a7b0d56bfd563e97a (diff) | |
download | lua_async-96c25df59c02f51ea2f43d06b886ef3cc623e336.tar.xz |
'Intervals' instead of 'Interval'
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |