-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite api using async/await #40
Conversation
|
||
var outputs: [Result<T, Error>] = [] | ||
|
||
waitUntil(timeout: .seconds(5)) { done in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hope they'll add an async/await version of this to Quick
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an open issue there. But for now this works.
3caefa8
to
53a1f08
Compare
53a1f08
to
2db06a3
Compare
Can't merge it in until swift 5.5.2 is released and is on the ubuntu container. |
The default swift version is now updated
6e19bd5
to
ffe07c2
Compare
Since starting Xcode 13.2 we can back deploy concurrency to macOS 10.15, this library can be rewritten using async/await instead of the completion handlers hell.
closes #27