https://github.com/howprogrammingworks/pool
Object Pool
https://github.com/howprogrammingworks/pool
object-pool pattern pool
Last synced: about 2 months ago
JSON representation
Object Pool
- Host: GitHub
- URL: https://github.com/howprogrammingworks/pool
- Owner: HowProgrammingWorks
- License: mit
- Created: 2018-01-05T20:52:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-20T22:17:55.000Z (2 months ago)
- Last Synced: 2025-02-20T22:32:08.329Z (2 months ago)
- Topics: object-pool, pattern, pool
- Language: JavaScript
- Homepage: https://www.youtube.com/TimurShemsedinov
- Size: 44.9 KB
- Stars: 7
- Watchers: 6
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Object Pool and Asyncronous Pool
[](https://www.youtube.com/watch?v=Ax_mSvadFp8)
[](https://www.youtube.com/watch?v=Jj5KZRq4wYI)
See: [4-improved.js](https://github.com/HowProgrammingWorks/Pool/blob/master/JavaScript/4-improved.js)
Signature poolify(factory, { size, max })
- `factory` - call to instantiate pool item
- `size` - preallocated amount
- `max` - maximum amount to limit pool