baml.sys.sleep

Suspends the current thread for `delay`. A zero or negative `delay` does not wait.

Reference version

Signature

function baml.sys.sleep(delay: baml.time.Duration) -> null throws never

Suspends the current thread for delay. A zero or negative delay does not wait.

Source:<builtin>/baml/ns_sys/sys.bamlbytes 7110–7211