Trait apalis_core::worker::MessageResponse
source · pub trait MessageResponse<M: Message>: Send {
fn handle<'async_trait>(
self,
sender: Sender<M::Result>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
Self: 'async_trait;
}Available on crate feature
worker only.Expand description
Dev trait for Message responding