async fn get_nb_connected_neighbours() -> Result<i64, ServerFnError>
Server function to retrieve the number of neighbours in the network