Preload constructor
Creates a new preload.
Assets are read from Ignis.bundle into Ignis.cache, both resolved at load time so a bundle installed after configuration still applies.
A pool is allocated to manage loading in parallel, subject to the target
concurrency and a per-request timeout. By default, the pool permits
10 concurrent requests with a timeout of 10 seconds.
Implementation
Preload({
this.concurrency = _CONCURRENCY,
this.timeout = _TIMEOUT,
}) : _pool = Pool(concurrency, timeout: timeout);