We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The fast-glob package will read directories in the stream, even after the receiver is closed.
fast-glob
When the receiver is closed, the read stream for each of patterns must be closed too.
const fg = require('fast-glob'); (async () => { const stream = fg.stream('../DefinitelyTyped/**/*.md'); for await (const entry of stream) { console.dir(entry, { colors: true }); return; } })();
The text was updated successfully, but these errors were encountered:
Original issue:
#238 (comment)
Sorry, something went wrong.
maxMatches
Just add console.log before emit to destination stream here.
console.log
emit
destination
Will be fixed with #242.
No branches or pull requests
Environment
Actual behavior
The
fast-glob
package will read directories in the stream, even after the receiver is closed.Expected behavior
When the receiver is closed, the read stream for each of patterns must be closed too.
Code sample
The text was updated successfully, but these errors were encountered: