Skip to contents

Sleep but Return a Value

Usage

sleep_for(x, n)

Arguments

x

value to return

n

number of seconds to sleep for

Value

x after sleeping for n seconds

See also

Other helpers: add_n(), ret_err(), ret_null(), square(), timestwo()