See: 4-improved.js
Signature poolify(factory, { size, max })
factory- call to instantiate pool itemsize- preallocated amountmax- maximum amount to limit pool
See: 4-improved.js
Signature poolify(factory, { size, max })
factory - call to instantiate pool itemsize - preallocated amountmax - maximum amount to limit pool