Function cluster_mode::start_cluster [−][src]
pub async fn start_cluster<T: DiscoveryService>(
cluster: Arc<Cluster>,
discovery_service: DiscoveryClient<T>
)
Start the cluster. Note that, this function has infinite loop, so should always spawn a new thread.