pub trait OnComponentInitializedHook<Node>: Send {
// Required method
fn on_event(self: Box<Self>, node: Node) -> Result<(), Report>;
}
Expand description
A helper trait for the event hook that is run once the node is initialized.
pub trait OnComponentInitializedHook<Node>: Send {
// Required method
fn on_event(self: Box<Self>, node: Node) -> Result<(), Report>;
}
A helper trait for the event hook that is run once the node is initialized.