Skip to main content

with_progress

Function with_progress 

Source
pub fn with_progress<I, F, Fut>(progress: I, terminal: F) -> ToolStream
where 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.