Asyncio event loop in thread. The closest thing which I can think of is using .