Expand description
Tokio-based asynchronous in-process message queue. This library prioritizes simplicity and ease of use. Future development will focus solely on bug fixes and dependency updates, with no new features planned.
Modules§
Macros§
Functions§
- cleanup
- First interrupts the delayed message expiration detector, then waits for pending messages (immediate and expired) in the execution queue to complete, and finally releases resources before exiting.
- init
- Initialize ZIMQ
- send_
delay - Publishes a delayed message to the specified topic.
- send_
delay_ ex - Publishes a delayed message with a custom message ID to the specified topic. If a delayed message with the same ID already exists and has not been consumed yet, this method will return ZimqError::DuplicatedMessageError to prevent duplicates.
- send_
immediate - Publishes an immediate message to the specified topic.
- start
- Starts the core services of the ZIMQ.
- subscribe
- Subscribes to messages on a specific topic.