time.sleep

Synopsis

local time = require "time"
time.sleep(secs: number)

Description

Blocks the fiber until secs seconds have passed.

Floating point numbers give room for subsecond precision.