Skip to main content

start

Function start 

Source
pub async fn start(
    bind: SocketAddr,
    bind_control: SocketAddr,
    external_events: impl Stream<Item = Event> + Unpin,
) -> Result<(u16, impl Future<Output = Result<()>>), ErrReport>
Expand description

Start the coordinator with a TCP listener for control messages. Returns the daemon port and a future that resolves when the coordinator finishes.