Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i have function
- aync def futures()
- fo = await fetchdata
- await exchange.close
- asunc def anotherfun()
- asyncio.get_event_loop().run_unitl_complete(futrues())
- while:
- data = asyncio.get_event_loop().run_unitl_complete(futrues())
- asyncio.get_event_loop().run_unitl_complete(anotherfun())
- RuntimeError: This event loop is already running
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement