-
-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
easy pickGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needednew featureNew feature or requestNew feature or request
Milestone
Description
We should support accepting an iterable
instead of only an array
for parallel()
, series()
and waterfall()
. The iterable
pseudo type is available as of PHP 7.1, so we can take advantage of this for our Async v3 and Async v4 (see also #11 and #14). It supports passing an array
just like now, but also accepts Iterator
s and Generator
s.
I'm not currently working on this, but figured it makes sense to report here in order to track this feature request. In case anybody feels like picking this up, any input and PRs would be much appreciated 👍 (I've also filed the same suggestion for Promise v3 in reactphp/promise#221)
Metadata
Metadata
Assignees
Labels
easy pickGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needednew featureNew feature or requestNew feature or request