async fn wait_on(
arguments: &Value,
cx: &ToolCtx<'_>,
id: &str,
since: u64,
echo_lines: usize,
) -> Result<Value>Expand description
Blocks (polling srv) until the condition holds or the timeout passes.
echo_lines: the output starts with the echo of that many lines just
typed, which a pattern must not match (type with text).