CodeExplorer ofLimit example
public static function ofLimitAll( $iterable,
$concurrency,
callable
$onFulfilled = null
): PromiseInterface
{ return self::
ofLimit( $iterable,
$concurrency,
$onFulfilled,
function D
$reason,
$idx, PromiseInterface
$aggregate): void
{ $aggregate->
reject($reason);
} );
}}