-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Async-iteration support #83
Comments
Would be useful, yes. Can you open an issue on https://github.com/mrmlnc/fast-glob too? As it will have to be implemented there first. |
It looks to exist in |
@issuehuntfest has funded $80.00 to this issue. See it on IssueHunt |
I have code that already does this (converts a stream to an async iterator) based on fast-glob, the only issue is that I'm quite worried about compatibility since I was abusing babel to get it working. |
JFYI: Here you need to understand that now there is no way to open the directory for reading in the stream. Now we first read the directory and then send its entries to the stream. So now Async-Iterator will be just sugar for Stream API. |
@mrmlnc Correct, afaik this is required libuv/libuv#2057 |
@elyager I'm willing to make the PR, but I haven't because it requires babel hackery and I'm not sure how it will operate on older JS versions. If I can get a concrete answer on going ahead with it anyway (regardless of babel usage, even if only for review purposes) then I'll make the PR. But I know if it was my library this would be an issue. tl;dr
|
@rijnhard you right, I hope you get the answer you need soon. |
Yes, I'm not interested in using Babel here. |
@sindresorhus has rewarded $72.00 to @futpib. See it on IssueHunt
|
It would be great to see results as they are found. By implementing JavaScript async iteration support, we could be able to have results stream in as they are located.
Filing as a feature request here, because this is my favorite glob library. 🤩 Thanks!!!
IssueHunt Summary
futpib has been rewarded.
Backers (Total: $80.00)
Submitted pull Requests
globby.stream
Tips
IssueHunt has been backed by the following sponsors. Become a sponsor
The text was updated successfully, but these errors were encountered: