Io module

sleep

procedure · 1 overloadSource

Blocks this fiber, not the thread, for at least milliseconds. Ends early with .TIMED_OUT when a with_deadline limit comes first.

sleep :: (milliseconds: s64) -> Io_Error

Blocks this fiber, not the thread, for at least milliseconds. Ends early with .TIMED_OUT when a with_deadline limit comes first.

Parameters

milliseconds: s64

Returns

See also