Function libreloc_client::receive_updates_until_exit
source · pub(crate) async fn receive_updates_until_exit(
rx: Receiver<Update>,
location_state: Arc<Mutex<HashMap<SrcKind, Source>>>,
global_loc: Arc<Mutex<Plocation>>
) -> Result<()>