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

Use async to replace FutureExt in lib.rs #3359

Merged
merged 1 commit into from Nov 17, 2019

Conversation

kevinkassimo
Copy link
Contributor

After #3358 the codebase is full of futures::future::FutureExt uses. Instead some places we can just use native async/await to achieve the same effect.

This PR is a demonstration about how we can start slowing migrating some code to accept this pattern.

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ry ry merged commit 2b3afda into denoland:master Nov 17, 2019
@trivikr
Copy link
Contributor

trivikr commented Nov 17, 2019

@kevinkassimo Can you create a good first issue mentioning other places where FutureExt can be replaced with async - so that new contributors can give it a try?

@kevinkassimo
Copy link
Contributor Author

@trivikr I already have an issue here: #3360

bartlomieju pushed a commit to bartlomieju/deno that referenced this pull request Dec 28, 2019
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.

None yet

3 participants