Skip to main content

watch_with

Function watch_with 

Source
pub async fn watch_with(
    state: &AppState,
    request_id: &str,
    timing: Timing,
    reviewer: impl Fn(&AppState) -> bool,
)
Expand description

Wait until the request is answered, or no one is left to answer it, then act. reviewer says whether a super agent is there to answer.