Skip to main content

lock_tasks

Function lock_tasks 

Source
pub async fn lock_tasks<'a, E>(
    executor: E,
    task_ids: &[String],
    worker_id: &str,
) -> Result<u64, Error>
where E: Executor<'a, Database = Sqlite>,
Expand description

Lock multiple tasks, given a worker