diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-04-21 10:46:50 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-04-21 10:46:50 +0200 |
commit | f360350bd874aeec0806c8df02c7a20a54c44406 (patch) | |
tree | 57b6502dab584fc535298bf33aa08eb2a1016929 /README.md | |
parent | 7f0ff9143159cfa76408ed3dfedb2d730b17fb46 (diff) |
lib: implement sleep(ms) function
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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`. |