🏃♂️ tick-queue
tick-queue is a Rust library designed to manage a sequence of items in a strick tick order.
Each item is associated with a unique TickId, ensuring items are kept in a correct order.
✨ Features
- Step Management: Queue items with associated
TickIdto ensure correct processing. - Iterator Support: Iterate through items with both standard and indexed iteration.
- Flexible Item Handling: Push, pop, and take items from the queue with tick validation.
- Error Handling: Robust error handling for cases such as incorrect
TickIdorder.
🚀 Getting Started
Add tick-queue to your Cargo.toml:
[]
= "0.0.3"