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
(self)
| 666 | """Abstract policy for accessing the event loop.""" |
| 667 | |
| 668 | def get_event_loop(self): |
| 669 | """Get the event loop for the current context. |
| 670 | |
| 671 | Returns an event loop object implementing the AbstractEventLoop interface, |
| 672 | or raises an exception in case no event loop has been set for the |
| 673 | current context and the current policy does not specify to create one. |
| 674 | |
| 675 | It should never return None.""" |
| 676 | raise NotImplementedError |
| 677 | |
| 678 | def set_event_loop(self, loop): |
| 679 | """Set the event loop for the current context to loop.""" |
no outgoing calls
no test coverage detected