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

wrap risky co.wrap yields #49

Merged
merged 1 commit into from
Jan 4, 2019
Merged

Conversation

dbushong
Copy link
Member

@dbushong dbushong commented Jan 4, 2019

Unlike real async/await, the yields you use with co.wrap explode if you
don't hand them a real Promise. Let's just wrap the risky ones at their
point-of-use to make it easy to strip them back off when we port to real
async/await in the future.

Unlike real async/await, the yields you use with co.wrap explode if you
don't hand them a real Promise.  Let's just wrap the risky ones at their
point-of-use to make it easy to strip them back off when we port to real
async/await in the future.
@dbushong dbushong merged commit e7910ec into master Jan 4, 2019
@dbushong dbushong deleted the dbushong/feature/master/fix-yield branch January 4, 2019 20:45
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