Mojo function
sleep
sleep(sec: Float64)
Suspends the current thread for the seconds specified.
Args:
- sec (
Float64): The number of seconds to sleep for.
sleep(sec: UInt)
Suspends the current thread for the seconds specified.
Args:
- sec (
UInt): The number of seconds to sleep for.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!