diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 03:20:17 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 03:20:17 -0400 |
| commit | fc98d05ef934e7a52161182ca5c55d7b23174012 (patch) | |
| tree | 8839c3634576fe2f7eb1c0ba6ef31ba5051f6aae /docs | |
| parent | 790bbab30374f6317ebbc1e6be6a94236e11e370 (diff) | |
Add sleep()
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:** |
