# What happened to \`Task.sleep(for: Duration)\`?

**URL:** <https://forums.swift.org/t/what-happened-to-task-sleep-for-duration/57723>\
**Category:** Discussion\
**Created:** [May 31, 2022, 5:31pm UTC](https://forums.swift.org/t/what-happened-to-task-sleep-for-duration/57723 "2022-05-31T17:31:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![iampatbrown](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/iampatbrown/32/19021_2.png) [@iampatbrown](https://forums.swift.org/u/iampatbrown)\
**Post date:** [June 1, 2022, 4:05am UTC](https://forums.swift.org/t/what-happened-to-task-sleep-for-duration/57723/2 "2022-06-01T04:05:40Z")

</div>

I couldn't find anything about it being dropped either. From [SE-0329 (Third review)](https://forums.swift.org/t/se-0329-third-review-clock-instant-and-duration/54727):

> - It was observed that the preposition `for:` in `sleep(for:)` could be omitted as a needless word. However, there are good reasons to keep it: most importantly, that this is one method in an overload set where the alternatives ( `sleep(until:)` ) use a contrasting preposition. The Core Team agrees that `for:` should remain.

---

_[View the full topic](https://forums.swift.org/t/what-happened-to-task-sleep-for-duration/57723)._
