Skip to main content

handle_work_ask

Function handle_work_ask 

Source
pub(super) async fn handle_work_ask(
    __arg0: State<AppState>,
    __arg1: Path<String>,
    caller: Option<Extension<Caller>>,
    __arg3: Json<UpdateRequest>,
) -> (StatusCode, Json<Value>)
Expand description

POST /agentmux/work/:id/ask: the holder needs the operator. The task goes to Needs you; the holder keeps it, its lease paused.