ConcurrentImportRunner
class ConcurrentImportRunner
Properties
| protected WaitConcurrent | $concurrent | ||
| protected Throwable|null | $failure |
Methods
__construct(int $limit)
No description
void
create(callable $operation)
Run an import operation within the concurrency limit.
void
wait()
Wait for every active import operation and rethrow the first failure.
void
throwIfFailed()
Rethrow the first import failure.
Details
at line 18
__construct(int $limit)
No description
at line 26
void
create(callable $operation)
Run an import operation within the concurrency limit.
at line 53
void
wait()
Wait for every active import operation and rethrow the first failure.
at line 63
protected void
throwIfFailed()
Rethrow the first import failure.