Skip to main content

spawn_service

Function spawn_service 

Source
pub async fn spawn_service(service_config: &ServiceConfig)
Expand description

Spawns the daemon service: P2P peer + API server + gateway server. Blocks until shutdown signal is received. Use for CLI binary usage.