python-zeroconf
python-zeroconf copied to clipboard
Future attached to a different loop
trafficstars
Hi I'm try running registry service using asyncio but it said in run on different loop ?
await self._zeroconf.async_register_service(service_info)
It return
[zeroconf/_utils/asyncio.py:44] got Future <Future pending> attached to a different loop
Is there a way to pass my loop to the lib or maybe use asyncio.get_running_loop() instead ?