Crate wheeltimer

Crate wheeltimer 

Source
Expand description

§wheeltimer

An implementation of the time wheel algorithm in Rust, inspired by Netty’s HashedWheelTimer. Provides functionality for creating and cancelling delayed tasks in an asynchronous environment.

§Features

  • Asynchronous task scheduling with configurable tick duration and wheel size
  • Support for cancellation of pending timeouts
  • Thread-safe design using Arc, RwLock, and Mutex

Structs§

CountDownLatch
Timeout
WheelTimer
A reference-counted handle to a time wheel-based timer.

Enums§

Error
Enumeration of possible errors returned by timer operations