pub trait ReorgHandler: Send + Sync {
// Required method
fn on_reorg<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
dropped: &'life1 [BlockSummary],
ctx: &'life2 IndexContext,
) -> Pin<Box<dyn Future<Output = Result<(), IndexerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Trait for reorg handlers.
Called when a chain reorganization is detected.