Home | History | Annotate | Download | only in asyncio

Lines Matching defs:loop

1 """Event loop using a proactor and related classes.
25 def __init__(self, loop, sock, protocol, waiter=None,
27 super().__init__(extra, loop)
155 def __init__(self, loop, sock, protocol, waiter=None,
157 super().__init__(loop, sock, protocol, waiter, extra, server)
400 raise NotImplementedError("Proactor event loop requires Python 3.5"
427 raise RuntimeError("Cannot close a running event loop")
431 # Call these methods before closing the event loop (before calling
433 # call_soon(), which is forbidden when the event loop is closed.
440 # Close the event loop
486 'message': 'Error on reading from the event loop self pipe',
488 'loop': self,
500 def loop(f=None):
534 f.add_done_callback(loop)
536 self.call_soon(loop)