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
It would be great if the following:
> node --eval 'require("aigle").each(Promise.resolve([1, 2]), x => console.log(x))'
had the same effect as:
> node --eval 'require("aigle").each([1, 2], x => console.log(x))' 1 2
Bluebird already behaves like this:
> node --eval 'require("bluebird").each(Promise.resolve([1, 2]), x => console.log(x))' 1 2
Btw., since Aigle.each iterates both arrays and object, we get the following wired behaviour if first arg of each is an instance of Aigle promise:
Aigle.each
each
Aigle
> node --eval 'require("aigle").each(require("aigle").resolve([1, 2]), x => console.log(x))' 1 [ 1, 2 ] undefined undefined undefined undefined undefined
The text was updated successfully, but these errors were encountered:
Thanks for the issue! I like the idea, I will put it on the milestone. 👍
Sorry, something went wrong.
No branches or pull requests
It would be great if the following:
had the same effect as:
Bluebird already behaves like this:
Btw., since
Aigle.each
iterates both arrays and object, we get the following wired behaviour if first arg ofeach
is an instance ofAigle
promise:The text was updated successfully, but these errors were encountered: