Skip to main content

file_card

Function file_card 

Source
pub(super) fn file_card(
    state: &AppState,
    item: &WorkItem,
    card: &NewCard,
) -> Option<i64>
Expand description

Give a just-enqueued task its card and first history line. Returns its number. Synchronous: called right after the enqueue, with nothing awaited between them; a claim or list that got in first made an empty card, which this fills.