Task.sleep

版本新特性 / Swift 5.7

// *** 以前 ***
await Task.sleep(1_000_000_000)

// *** 在 5.7 版本中 ***
try await Task.sleep(until:
    .now + .seconds(1),
    clock: .continuous)