Skip to content
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

Migrate to async/await #93

Closed
3 tasks done
fwcd opened this issue Sep 27, 2021 · 0 comments
Closed
3 tasks done

Migrate to async/await #93

fwcd opened this issue Sep 27, 2021 · 0 comments
Labels
enhancement New feature or request refactoring Improvements to the code structure

Comments

@fwcd
Copy link
Owner

fwcd commented Sep 27, 2021

With the release of Swift 5.5, concurrency and async/await are now part of the language and it would be great if we could integrate it into D2. Due to the size of the project, a gradual migration would be ideal.

Progress

To do

  • Add basic async/await support at the top-level and in core protocols (e.g. Command)
  • Add convenience wrappers around Promise and HTTPRequest in swift-utils
  • Gradually migrate commands to async/await
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring Improvements to the code structure
Projects
None yet
Development

No branches or pull requests

1 participant