Mojo function
sleep
sleep(sec: SIMD[float64, 1])
Suspends the current thread for the seconds specified.
Args:
- sec (
SIMD[float64, 1]
): 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!