PyDocs

Nav

Networking and Interprocess Communication

AbstractEventLoopPolicy.get_event_loop

  • AbstractEventLoopPolicy.get_event_loop()
Get the event loop for the current context.

Returns an event loop object implementing the AbstractEventLoop interface,
or raises an exception in case no event loop has been set for the
current context and the current policy does not specify to create one.

It should never return None.
Changed in 3.6
  • 3.6:
0 Examples
No examples for asyncio/AbstractEventLoopPolicy.get_event_loop.
See Also
No see-alsos for asyncio/AbstractEventLoopPolicy.get_event_loop
0 Notes
No notes for AbstractEventLoopPolicy.get_event_loop