Methods |
public
static
of
(
$iterable
,
?
callable
$onFulfilled
=
NULL
,
?
callable
$onRejected
=
NULL
) Given an iterator that yields promises or values, returns a promise that $onFulfilled is a function that accepts the fulfilled value, iterator $onRejected is a function that accepts the rejection reason, iterator |
public
static
ofLimit
(
$iterable
,
$concurrency
,
?
callable
$onFulfilled
=
NULL
,
?
callable
$onRejected
=
NULL
) Like of, but only allows a certain number of outstanding promises at any $concurrency may be an integer or a function that accepts the number of |
public
static
ofLimitAll
(
$iterable
,
$concurrency
,
?
callable
$onFulfilled
=
NULL
) Like limit, but ensures that no promise in the given $iterable argument |
Methods |
public
static
of
(
$iterable
,
?
callable
$onFulfilled
=
NULL
,
?
callable
$onRejected
=
NULL
) Given an iterator that yields promises or values, returns a promise that $onFulfilled is a function that accepts the fulfilled value, iterator $onRejected is a function that accepts the rejection reason, iterator |
public
static
ofLimit
(
$iterable
,
$concurrency
,
?
callable
$onFulfilled
=
NULL
,
?
callable
$onRejected
=
NULL
) Like of, but only allows a certain number of outstanding promises at any $concurrency may be an integer or a function that accepts the number of |
public
static
ofLimitAll
(
$iterable
,
$concurrency
,
?
callable
$onFulfilled
=
NULL
) Like limit, but ensures that no promise in the given $iterable argument |