sleep(until:)
Blocks the current thread until the time specified.
Declaration
class func sleep(until date: Date)Parameters
- date:
The time at which to resume processing.
Discussion
No run loop processing occurs while the thread is blocked.
Blocks the current thread until the time specified.
class func sleep(until date: Date)The time at which to resume processing.
No run loop processing occurs while the thread is blocked.