Skip to main content

push_tasks

Function push_tasks 

Source
pub async fn push_tasks<'a, E>(
    executor: &'a mut E,
    queue: &str,
    tasks: &[SqliteTask],
) -> Result<(), Error>
where for<'e> &'e mut E: Executor<'e, Database = Sqlite>,
Expand description

Push a batch of tasks into the database