Skip to main content

tasks_enqueue

Function tasks_enqueue 

Source
pub(crate) async fn tasks_enqueue(
    state: &AppState,
    actor: &str,
    params: Value,
) -> Result<Value, Failure>
Expand description

tasks.enqueue: file a task (or, with first, a spec and its build) on this machine’s board for one of its agents. The answer is the local call’s: {id, num}, and build_id/build_num for a pair, with a note when the target can’t work now.