Skip to content

v14: Add async methods to Deploy interfaces#16055

Merged
bergmania merged 6 commits intov14/devfrom
v14/feature/deploy-async
Apr 15, 2024
Merged

v14: Add async methods to Deploy interfaces#16055
bergmania merged 6 commits intov14/devfrom
v14/feature/deploy-async

Conversation

@ronaldbarendse
Copy link
Copy Markdown
Contributor

With most (if not all) services in v14 having async implementations (and new services even exclusively), this adds async methods to the Deploy interfaces, so we can implement 'async all the way'.

I've added these new async methods in a backwards-compatible way using default implementations that return Task.FromResult(...) and call the existing sync method. To signal to all callers and implementers to use the async methods, I've made the sync methods obsolete. This should allow us to first ensure the new async methods are implemented and called everywhere, remove the default implementations in the next major and finally remove the sync methods after being obsoleted for 2 major versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants