kue 0.1.0

Kue is a job queue backed by pg/memory/redis
Documentation
1
2
3
4
5
6
7
8
9
10
pub struct TaskOptions {
  pub attempt: i32,
  pub max_attempts: i32,
}

impl TaskOptions {
  pub fn new(attempt: i32, max_attempts: i32) -> Self { 
    Self { attempt, max_attempts } 
  }
}