Skip to main content

EventFuture

Type Alias EventFuture 

Source
pub type EventFuture<'a> = Pin<Box<dyn Future<Output = Result<(), AppError>> + Send + 'a>>;
Expand description

A listener future borrowing the event, application context and native transaction.

Aliased Typeยง

#[repr(transparent)]
pub struct EventFuture<'a> { /* private fields */ }