runtime

runtime

Default controls for sleeping and terminating the current VM invocation.

The runtime namespace is available directly; no use declaration is required.

Functions

FunctionDescription
sleepSleeps for the requested milliseconds.
exitHalts 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.