swift
[SE-0304] Align Task API implementation with the fourth revision of the proposal
#38306
Merged

[SE-0304] Align Task API implementation with the fourth revision of the proposal #38306

DougGregor
DougGregor [SE-0304] Replace the `async` operations in `(Throwing)TaskGroup` wit…
04dd840b
DougGregor [SE-0304] Rename `TaskPriority.default` to `medium`
f692faea
DougGregor [SE-0304] Rename `Task.yield()` to `Task.suspend()`
b7e2136e
DougGregor [SE-0304] Add `(Throwing)?TaskGroup.waitForAll()`
20c8bd12
benlings
benlings commented on 2021-07-08
DougGregor DougGregor force pushed 5 years ago
DougGregor [SE-0304] Implement cancellable `Task.sleep(nanoseconds:)`.
59d1e61a
DougGregor DougGregor force pushed to 59d1e61a 5 years ago
DougGregor
phausler
phausler commented on 2021-07-08
DougGregor [SE-0304] Clarify documentation of Task.sleep(nanoseconds:) slightly
7ba63cf5
DougGregor [SE-0304] Add `UnsafeCurrentTask.cancel()`.
4a0723f6
DougGregor Add a test for `Task.sleep(nanoseconds: 0)`.
a596a03d
DougGregor Remove `UnownedJob.run()`. It never did anything anyway
1a024e96
DougGregor Reimplement `Task.sleep(nanoseconds:)` without the raciness.
121e34fa
DougGregor
DougGregor
DougGregor DougGregor merged 57e22bb9 into main 5 years ago
DougGregor DougGregor deleted the structured-concurrency-review-4 branch 5 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone