summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-04-21 10:46:50 +0200
committerJo-Philipp Wich <jo@mein.io>2021-04-21 10:46:50 +0200
commitf360350bd874aeec0806c8df02c7a20a54c44406 (patch)
tree57b6502dab584fc535298bf33aa08eb2a1016929 /README.md
parent7f0ff9143159cfa76408ed3dfedb2d730b17fb46 (diff)
lib: implement sleep(ms) function
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 86d4e7d..1253cc9 100644
--- a/README.md
+++ b/README.md
@@ -1085,3 +1085,8 @@ When invoked with a second prototype argument, the given `proto` value is
set as prototype on the array or object in `val`.
Throws an exception if the given prototype value is not an object.
+
+#### 6.55. `sleep(milliseconds)`
+
+Pause execution for the given amount of milliseconds. Returns `false` if
+an invalid value was passed, otherwise `true`.