ConcurrentImportRunner
class ConcurrentImportRunner
Properties
| protected WaitConcurrent|null | $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 19
__construct(int $limit)
No description
at line 27
void
create(callable $operation)
Run an import operation within the concurrency limit.
at line 65
void
wait()
Wait for every active import operation and rethrow the first failure.
at line 92
protected void
throwIfFailed()
Rethrow the first import failure.