Skip to main content

enqueue_one

Function enqueue_one 

Source
fn enqueue_one(
    state: &AppState,
    item: &WorkItem,
    after: &[String],
    card: &NewCard,
) -> Result<Option<i64>, (StatusCode, Json<Value>)>
Expand description

Enqueue one task with what it starts after (the row and the list in one transaction, so no claim takes it in between) and file its card.