1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! Apalis storage using Redis as a backend
//! ```rust,ignore
//! #[tokio::main]
//! async fn main() -> std::io::Result<()> {
//!     let storage = RedisStorage::connect("REDIS_URL").await.unwrap();
//!     Monitor::new()
//!        .register(
//!            WorkerBuilder::new(storage.clone())
//!                .build_fn(send_email),
//!        )
//!        .run()
//!        .await
//! }
//! ```

mod storage;
pub use storage::RedisStorage;

#[cfg(feature = "pubsub")]
pub mod listener;