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

Support async iteration #201

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

alubbe
Copy link

@alubbe alubbe commented Jun 8, 2020

This PR adds fully functioning async iteration (see #191)

I would love to add a test case for this that goes through a real zip file, does some async things, and then breaks the loop. But, it would need to be done in a way that the test case only runs on node v12 and above. With the current setup of tap test/*.js --jobs=10 --coverage-report=html --no-browser I'm not sure how/where to do that - any suggestions?

@alubbe alubbe force-pushed the async-iteration branch from 90eca03 to 3acf17d Compare June 8, 2020 09:30
@@ -0,0 +1,35 @@
const {once} = require('events');
Copy link
Author

@alubbe alubbe Jun 8, 2020

Choose a reason for hiding this comment

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

this file is the same helper as used (and tested) in the exceljs code base

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.

1 participant