traits_futures.asyncio.event_loop module¶
IEventLoop implementation wrapping an asyncio event loop.
-
class
traits_futures.asyncio.event_loop.
AsyncioEventLoop
(*, event_loop=None)[source]¶ Bases:
object
IEventLoop implementation wrapping an asyncio event loop.
- Parameters
event_loop (
asyncio.AbstractEventLoop
, optional) – The asyncio event loop to wrap. If not provided, a new event loop will be created and used.