Fix tokio docs

This commit is contained in:
asonix 2024-01-18 13:14:58 -05:00
parent a0c924a4f3
commit d2c171913f

View file

@ -41,7 +41,7 @@
//! let queue_handle = WorkerConfig::new(storage, move |_| MyState::new("My App"))
//! .register::<MyJob>()
//! .set_worker_count(DEFAULT_QUEUE, 16)
//! .start();
//! .start()?;
//!
//! // Queue our jobs
//! queue_handle.queue(MyJob::new(1, 2)).await?;