Closed kings1ay3r closed 3 weeks ago
[!CAUTION]
Review failed
The pull request is closed.
This pull request introduces several modifications to the documentation and implementation of the qbg
library. Key changes include enhancements to the README.md
file, which now features a "Quick Start" section, updated error handling method names, and new API references. The src/index.ts
file has been updated with new getter methods and the addition of a clearDLQueue
method. Furthermore, the TypeScript configuration in tsconfig.json
has been adjusted to enable declaration file generation, improving type definition management.
File | Change Summary |
---|---|
README.md | - Added "Quick Start" section. - Updated error handling: processError → errorProcessor .- Changed queue size access: queue.queueSize → queue.size .- Defined parameters and return types for init and getQueue methods.- Added methods: clearDLQueue and listen .- Introduced new getters: ready , size , peek , dlQueueSize , peekDLQ . |
src/index.ts | - Added getters: size , dlQueueSize , peek , peekDLQ .- Implemented clearDLQueue method.- Updated init function with default values for persistence and errorProcessor .- Cleaned up error handling in listen method. |
tsconfig.json | - Added "declaration": true and "declarationDir": "./dist" to compilerOptions . |
example.md | - Added new implementation for queue processing with hooksRegistry , transformerRegistry , and persistence .- Introduced main function to initialize and manage the queue. |
package.json | - Updated version to "1.0.0" .- Added TypeScript type definitions and included the dist directory in the package. |
README.md
regarding the init
method and queue management system are directly related to this PR's documentation enhancements.README.md
to add a "Quick Start" section and updates method names and signatures, which directly relates to the changes made in the main PR regarding documentation improvements and API updates.🐰 In the garden of code, we hop and play,
With queues and methods, we brighten the day.
A quick start awaits, with clarity anew,
Error processors ready, and getters for you!
So come join the dance, in this patch we delight,
For theqbg
library shines ever so bright! ✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Documentation
Bug Fixes
listen
method.