Instance Methodnmggithub.kass 3.2.4MachCore
sleep(for:)
Sleeps on the clock for the given time.
@discardableResult func sleep(for time: mach_timespec_t) throws -> mach_timespec_t
Parameters
- time
The time to sleep for.
Returns
The time at which the clock was woken up.