Function ya_runtime_api::server::spawn [−][src]
pub async fn spawn(
command: Command,
event_handler: impl RuntimeEvent + Send + Sync + 'static
) -> Result<impl RuntimeService + RuntimeStatus + ProcessControl + Clone, Error>
pub async fn spawn(
command: Command,
event_handler: impl RuntimeEvent + Send + Sync + 'static
) -> Result<impl RuntimeService + RuntimeStatus + ProcessControl + Clone, Error>