Contents

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.

See Also

Related Documentation

Stopping a Thread