Trait ya_runtime_api::server::RuntimeHandler
source · pub trait RuntimeHandler {
// Required methods
fn on_process_status<'a>(&self, status: ProcessStatus) -> BoxFuture<'a, ()>;
fn on_runtime_status<'a>(&self, status: RuntimeStatus) -> BoxFuture<'a, ()>;
}
Expand description
Process and internal event handler
Required Methods§
sourcefn on_process_status<'a>(&self, status: ProcessStatus) -> BoxFuture<'a, ()>
fn on_process_status<'a>(&self, status: ProcessStatus) -> BoxFuture<'a, ()>
Process event handler
sourcefn on_runtime_status<'a>(&self, status: RuntimeStatus) -> BoxFuture<'a, ()>
fn on_runtime_status<'a>(&self, status: RuntimeStatus) -> BoxFuture<'a, ()>
Runtime event handler