extension Task where Success == Never, Failure == Never
Suspends the current task for at least the given duration in seconds.
If the task is canceled before the time ends, this function throws CancellationError. This function doesn’t block the underlying thread.
public static func sleep(seconds duration: TimeInterval) async throws
The number of seconds to suspend the current task for.