EXCEPTION::SLEEP 1g 2023 laplante@plcb.ca GOWEB/EXCEPTION


title: “EXCEPTION::SLEEP Manual Page” author: “laplante@plcb.ca” date: “2023”

category: “GOWEB/EXCEPTION”

Name

exception::sleep — sleep for a specified duration

Synopsis

Description

This function is used to pause execution for the given duration.
The string parameter is a duration.

A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m".
Valid time units are: "ns", "us" (or "µs"), "ms", "s", "m", "h", "d", "w", "y".

Examples

res={{
    sleep("1s");
}}.

return 

res=.

Author

See also

Version