Skip to main content

HandlerFuture

Type Alias HandlerFuture 

Source
pub type HandlerFuture<'context, Output> = Pin<Box<dyn Future<Output = Result<Output, ActivityFailure>> + Send + 'context>>;
Expand description

Boxed future returned by a typed activity handler.

Aliased Typeยง

pub struct HandlerFuture<'context, Output> { /* private fields */ }