Expand description

Example

use prowl_queue::{ProwlQueue, ProwlQueueSender};

fn application(sender: &ProwlQueueSender) {
    let notification = prowl::Notification::new(...)
    sender.add(notification).expect("Failed to add notification");
}

#[tokio::main]
async fn main() {
    let (sender, reciever) = ProwlQueue::default().into_parts();
    tokio::spawn(reciever.async_loop());
    application(&sender);
}

Structs

Your most generic type of retry. Retry every X until Y retries.
Options for the queue to know how to operate.

Enums

Wrapper of the different retry methods