pub fn with_progress<I, F, Fut>(progress: I, terminal: F) -> ToolStreamwhere
I: IntoIterator<Item = ToolProgress> + Send + 'static,
F: FnOnce() -> Fut + Send + 'static,
Fut: Future<Output = Result<ToolResult, ToolError>> + Send + 'static,Expand description
Progress items then a terminal future.