File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ trigger at the earliest possible time in the future.
277
277
278
278
### parallel()
279
279
280
- The ` parallel(iterable<callable():PromiseInterface<mixed,Exception >> $tasks): PromiseInterface<array<mixed>,Exception > ` function can be used
280
+ The ` parallel(iterable<callable():PromiseInterface<mixed>> $tasks): PromiseInterface<array<mixed>> ` function can be used
281
281
like this:
282
282
283
283
``` php
@@ -319,7 +319,7 @@ React\Async\parallel([
319
319
320
320
### series()
321
321
322
- The ` series(iterable<callable():PromiseInterface<mixed,Exception >> $tasks): PromiseInterface<array<mixed>,Exception > ` function can be used
322
+ The ` series(iterable<callable():PromiseInterface<mixed>> $tasks): PromiseInterface<array<mixed>> ` function can be used
323
323
like this:
324
324
325
325
``` php
@@ -361,7 +361,7 @@ React\Async\series([
361
361
362
362
### waterfall()
363
363
364
- The ` waterfall(iterable<callable(mixed=):PromiseInterface<mixed,Exception >> $tasks): PromiseInterface<mixed,Exception > ` function can be used
364
+ The ` waterfall(iterable<callable(mixed=):PromiseInterface<mixed>> $tasks): PromiseInterface<mixed> ` function can be used
365
365
like this:
366
366
367
367
``` php
Original file line number Diff line number Diff line change @@ -359,8 +359,8 @@ function coroutine(callable $function, ...$args): PromiseInterface
359
359
}
360
360
361
361
/**
362
- * @param iterable<callable():PromiseInterface<mixed,Exception >> $tasks
363
- * @return PromiseInterface<array<mixed>,Exception >
362
+ * @param iterable<callable():PromiseInterface<mixed>> $tasks
363
+ * @return PromiseInterface<array<mixed>>
364
364
*/
365
365
function parallel (iterable $ tasks ): PromiseInterface
366
366
{
@@ -418,8 +418,8 @@ function parallel(iterable $tasks): PromiseInterface
418
418
}
419
419
420
420
/**
421
- * @param iterable<callable():PromiseInterface<mixed,Exception >> $tasks
422
- * @return PromiseInterface<array<mixed>,Exception >
421
+ * @param iterable<callable():PromiseInterface<mixed>> $tasks
422
+ * @return PromiseInterface<array<mixed>>
423
423
*/
424
424
function series (iterable $ tasks ): PromiseInterface
425
425
{
@@ -469,8 +469,8 @@ function series(iterable $tasks): PromiseInterface
469
469
}
470
470
471
471
/**
472
- * @param iterable<callable(mixed=):PromiseInterface<mixed,Exception >> $tasks
473
- * @return PromiseInterface<mixed,Exception >
472
+ * @param iterable<callable(mixed=):PromiseInterface<mixed>> $tasks
473
+ * @return PromiseInterface<mixed>
474
474
*/
475
475
function waterfall (iterable $ tasks ): PromiseInterface
476
476
{
You can’t perform that action at this time.
0 commit comments