createPool method
Creates a new Pool corresponding to this concurrency strategy.
Returns null if isUnbounded.
Implementation
Pool? createPool() {
_validateLimit();
if (isUnbounded) return null;
return Pool(poolSize);
}
Creates a new Pool corresponding to this concurrency strategy.
Returns null if isUnbounded.
Pool? createPool() {
_validateLimit();
if (isUnbounded) return null;
return Pool(poolSize);
}