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