pub trait Handler: HandlerCore {
    fn handle<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        kind: &'life1 str,
        object: &'life2 Value,
        retry_count: usize
    ) -> Pin<Box<dyn Future<Output = Result<JobResult, JobError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }
Expand description

Interface for handling events asynchronously.

Required methods

The JSON object is passed in and acted upon.

Implementors