get_blocked_tasks

Function get_blocked_tasks 

Source
pub async fn get_blocked_tasks(
    pool: &SqlitePool,
    task_id: i64,
) -> Result<Vec<i64>>
Expand description

Get all tasks that are blocked by a given task

§Arguments

  • pool - Database connection pool
  • task_id - ID of the task to check

§Returns

Vector of task IDs that depend on the given task