enqueue_raw

Function enqueue_raw 

Source
pub async fn enqueue_raw(queue: &str, payload: String) -> Result<String>
Expand description

Enqueue a job payload directly into a named queue.

This is used by the cron scheduler and other producers that already have a JSON payload. The payload must match one of the registered job handlers.