Home
last modified time | relevance | path

Searched refs:run_in_executor (Results 1 - 7 of 7) sorted by relevance

/third_party/python/Lib/asyncio/
H A Dthreads.py25 return await loop.run_in_executor(None, func_call)
H A Dbase_events.py815 def run_in_executor(self, executor, func, *args): member in BaseEventLoop
818 self._check_callback(func, 'run_in_executor')
867 return await self.run_in_executor(
871 return await self.run_in_executor(
912 read = await self.run_in_executor(None, file.readinto, view)
1217 read = await self.run_in_executor(None, file.readinto, view)
H A Devents.py285 def run_in_executor(self, executor, func, *args): member in AbstractEventLoop
/third_party/python/Lib/test/test_asyncio/
H A Dtest_windows_events.py223 f = self.loop.run_in_executor(None, lambda: None)
H A Dtest_events.py371 f2 = self.loop.run_in_executor(None, run, 'yo')
386 f2 = self.loop.run_in_executor(None, run)
1771 # run_in_executor test is tricky: the method is a coroutine,
1775 it = self.loop.run_in_executor(None, func).__await__()
2538 await loop.run_in_executor(f, f)
2732 result = await self.loop.run_in_executor(
H A Dtest_tasks.py3221 future = self.loop.run_in_executor(None, self.target)
3228 future = self.loop.run_in_executor(None, self.target, True)
3237 future = self.loop.run_in_executor(None, callback)
3249 future = self.loop.run_in_executor(None, callback)
3260 run = self.loop.run_in_executor(
H A Dtest_base_events.py997 self.loop.run_in_executor(None, support.gc_collect))
1890 self.loop.run_in_executor(None, func))

Completed in 18 milliseconds