sleep(for:tolerance:)
Suspends for the given duration.
Declaration
func sleep(for duration: Self.Instant.Duration, tolerance: Self.Instant.Duration? = nil) async throwsDiscussion
Prefer to use the sleep(until:tolerance:) method on Clock if you have access to an absolute instant.