Skip to content

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