Function coord::serve[][src]

pub async fn serve(
    __arg0: Config<'_>,
    runtime: Arc<Runtime>
) -> Result<(Handle, Client), CoordError>

Serves the coordinator based on the provided configuration.

For a high-level description of the coordinator, see the crate documentation.

Returns a handle to the coordinator and a client to communicate with the coordinator.