runtime
runtime
Default controls for sleeping and terminating the current VM invocation.
The runtime namespace is available directly; no use declaration is required.
Functions
| Function | Description |
|---|---|
sleep | Sleeps for the requested milliseconds. |
exit | Halts the current VM invocation immediately. |
Function details
sleep
fn sleep(ms: int) -> bool
Sleeps for the requested milliseconds.
exit
fn exit() -> unknown
Halts the current VM invocation immediately.