Skip to main content

answer

Function answer 

Source
pub(crate) fn answer(
    state: &AppState,
    def_id: &str,
    slug: &str,
    a: Answer,
) -> Result<Value, String>
Expand description

The agent def_id (its slug slug) answers the window open for it. The handoff is stored at once, so it is kept even if the window runs out; a request for more time moves the deadline, once.