asynq-rs 0.3.0

Asynq by redis client library. This library provides a set of tools for asynchronous task processing using Redis as a backend.
Documentation
1
2
3
4
5
6
7
use crate::controller::task::Task;
use std::fmt::Debug;

pub trait TaskHandlerTrait: Send + Sync + Debug {
    type Item;
    fn handle_task(&mut self, task: Task) -> Self::Item;
}