From fc98d05ef934e7a52161182ca5c55d7b23174012 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 12 Sep 2024 03:20:17 -0400 Subject: Add sleep() --- docs/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'docs/README.md') 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:** -- cgit v1.2.3