Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow all promise collection wrappers to dynamically add promises via $recursive option #155

Open
geek-merlin opened this issue Jan 2, 2023 · 0 comments

Comments

@geek-merlin
Copy link

geek-merlin commented Jan 2, 2023

(Proposed in #46, implemented in #63) Utils::all() has the $recursive option that makes the collection promise pick up new promises that have been dynamically added to the collection.
The other collection methods (settle, any, some, ...) lack that $recursive option. They should also have it.

My background

I have a use case (recursive redirect resolver) where i rather use Utils::settle() (to not have a fail stop the other requests).
Taking the existing code from ::all(), i could implement this in userland, so no urgency to me.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant