Skip to content

add provideAsync #278

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

Merged
merged 5 commits into from
Sep 2, 2022
Merged

add provideAsync #278

merged 5 commits into from
Sep 2, 2022

Conversation

keithamus
Copy link
Contributor

This adds a new @provideAsync decorator which is complementary to @provide. This decorator resolves promises automatically, avoiding any awkward handling of Promises inside @consume getters.

(This is for 2.0 - but this is in the main branch to make merges into 2.0 easier).

@keithamus keithamus requested a review from a team as a code owner September 1, 2022 17:34
@keithamus keithamus requested a review from jfuchs September 1, 2022 17:34
@keithamus keithamus enabled auto-merge September 2, 2022 08:32
@keithamus keithamus requested a review from koddsson September 2, 2022 08:32
@keithamus keithamus merged commit 56caca9 into main Sep 2, 2022
@keithamus keithamus deleted the add-provideasync branch September 2, 2022 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants