Trait overclock::core::CleanupSelf
source · [−]pub trait CleanupSelf: Send + Sync {
fn cleanup_self<'life0, 'async_trait>(
self: Box<Self>,
publisher_scope_id: ScopeId,
data_and_subscribers: &'life0 mut Map<dyn Any + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Cleanup resource from self scope
Required methods
Cleanup the resource from the self scope