Skip to main content

Module process

Module process 

Source

Modules§

utils

Structs§

ShutdownHandle
Handle for gracefully shutting down the daemon service.

Functions§

spawn_service
Spawns the daemon service: P2P peer + API server + gateway server. Blocks until shutdown signal is received. Use for CLI binary usage.
start_service
Create state and spawn background tasks, returning the state handle.