See: 4-improved.js
Signature poolify(factory, { size, max })
factory- call to instantiate pool itemsize- preallocated amountmax- maximum amount to limit pool
Object Pool
https://www.youtube.com/TimurShemsedinov
Repository from Github https://github.comHowProgrammingWorks/Pool
See: 4-improved.js
Signature poolify(factory, { size, max })
factory - call to instantiate pool itemsize - preallocated amountmax - maximum amount to limit poolObject Pool
https://www.youtube.com/TimurShemsedinov
MIT License