/external/python/cpython3/Lib/asyncio/ |
base_events.py | 628 def run_in_executor(self, executor, func, *args): member in class:BaseEventLoop 631 self._check_callback(func, 'run_in_executor') 670 return self.run_in_executor(None, self._getaddrinfo_debug, 673 return self.run_in_executor(None, socket.getaddrinfo, 677 return self.run_in_executor(None, socket.getnameinfo, sockaddr, flags) [all...] |
events.py | 288 def run_in_executor(self, executor, func, *args): member in class:AbstractEventLoop
|
/external/python/cpython3/Lib/test/test_asyncio/ |
test_base_events.py | 231 self.loop.run_in_executor = mock.Mock() 235 self.loop.run_in_executor.call_args[0]) 366 res = self.loop.run_in_executor(None, cb) 371 res = self.loop.run_in_executor(executor, cb) [all...] |
test_tasks.py | [all...] |
test_events.py | 360 f2 = self.loop.run_in_executor(None, run, 'yo') [all...] |