Function transition_all

Source
pub async fn transition_all<'a, E>(
    executor: E,
    from: Status,
    to: Status,
) -> Result<()>
where E: Executor<'a, Database = Postgres>,
Expand description

Transitions tasks from one status to another.

ยงErrors

Returns error if there was a problem while updating messages.