Skip to main content

AgentFuture

Type Alias AgentFuture 

Source
pub type AgentFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
Expand description

A boxed, sendable future returned by an agent.

Aliased Typeยง

pub struct AgentFuture<'a, T> { /* private fields */ }