Skip to main content

move_task

Function move_task 

Source
pub(crate) fn move_task(
    qt: &CxxQtThread<Sioul>,
    shared: &Arc<Shared>,
    uid: &str,
    list: &str,
    confirmed: bool,
) -> String
Expand description

A task moved to another list, its steps with it: written there, then taken out here (the accounts send both). When the list would not keep something the task uses, nothing moves until confirmed: returns {"losses": [words]}, else {"uid"} or {"error"}.