diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/README.md b/docs/README.md index b3e82772..763f863a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -121,6 +121,30 @@ say("world!") --- +### `sleep` + +**Description:** +Pause execution for a given number of seconds. + +**Usage:** +```markdown +sleep(seconds: Num) -> Void +``` + +**Parameters:** + +- `seconds`: How many seconds to sleep for. + +**Returns:** +Nothing. + +**Example:** +```markdown +sleep(1.5) +``` + +--- + ### `fail` **Description:** |
