Releases: ori88c/data-oriented-slim-queue
Releases · ori88c/data-oriented-slim-queue
Add getSnapshot method, and improve documentation/tests/README
Key Features:
- New method
getSnapshot
was added: Returns an array of references to all the currently stored items in the queue, ordered from First-In to Last-In. This method can be used, for example, to periodically log the K most recent metrics, such as CPU or memory usage. - Documentation, README and tests improvements.
README and Documentation improvements
Key Features
- README improvements. In particular, adding separate sections for API methods and Getter methods.
- Documentation improvements.
README refinements
Key Features
- README refinements.
First Release
Key Features
- Basic Queue API: Straightforward and simple API, targeting pure use-cases of queues.
- Efficiency: Featuring a Data-Oriented Design with capacity-tuning capability, to reduce or prevent reallocations of the internal cyclic buffer.
- Comprehensive documentation: The class is thoroughly documented, enabling IDEs to provide helpful tooltips that enhance the coding experience.
- Tests: Fully covered by unit tests.
- No external runtime dependencies: Only development dependencies are used.
- ES2020 Compatibility: The
tsconfig
target is set to ES2020, ensuring compatibility with ES2020 environments. - TypeScript support.