Trait holochain::prelude::dependencies::kitsune_p2p_types::dependencies::ghost_actor::GhostControlHandler
source · pub trait GhostControlHandler: 'static + Send + Sized {
// Provided method
fn handle_ghost_actor_shutdown(self) -> MustBoxFuture<'static, ()> ⓘ { ... }
}
Expand description
All handlers must implement these generic control callbacks. Many of the functions within are provided as no-ops that can be overridden.
Provided Methods§
sourcefn handle_ghost_actor_shutdown(self) -> MustBoxFuture<'static, ()> ⓘ
fn handle_ghost_actor_shutdown(self) -> MustBoxFuture<'static, ()> ⓘ
Called when the actor task loops ends. Allows for any needed cleanup / triggers.