Skip to main content

dispatch_payload

Function dispatch_payload 

Source
pub async fn dispatch_payload(
    container: &Container,
    job_type: impl Into<String>,
    data: Value,
) -> Result<(), Error>
Expand description

Push a job onto the configured queue (helper for the Job::dispatch().await? form).