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

Add now_or_later future #672

Merged
merged 4 commits into from
Aug 27, 2021
Merged

Add now_or_later future #672

merged 4 commits into from
Aug 27, 2021

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Aug 27, 2021

Motivation and Context

async-trait style traits will use NowOrLater to avoid boxing when the value is already available.

Description

Adds NowOrLater future to smithy-async

Testing

Unit tests, doc tests validate usage.

Checklist

  • I have updated the CHANGELOG

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rcoh rcoh merged commit 5b8fc1e into main Aug 27, 2021
@rcoh rcoh deleted the now-or-later branch August 27, 2021 17:52
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