Map-like Usage
Using Pool as a Map replacement with get/has/set/delete operations.
Source Code
Running
bash
bun run examples/map-like.tsFeatures Demonstrated
- Using Pool as a Map replacement
- get/has/set/delete operations
- Pool of pools with identifiers
- Cache implementation
- Config management
- Events with Map-like operations
See the source code for the complete implementation.