Home
last modified time | relevance | path

Searched refs:run_in_executor (Results 1 – 19 of 19) sorted by relevance

/third_party/python/Lib/asyncio/
Dthreads.py25 return await loop.run_in_executor(None, func_call)
Dbase_events.py799 def run_in_executor(self, executor, func, *args): member in BaseEventLoop
855 return await self.run_in_executor(
859 return await self.run_in_executor(
899 read = await self.run_in_executor(None, file.readinto, view)
1182 read = await self.run_in_executor(None, file.readinto, view)
Devents.py286 def run_in_executor(self, executor, func, *args): member in AbstractEventLoop
/third_party/python/Doc/library/
Dasyncio-dev.rst105 The :meth:`loop.run_in_executor` method can be used with a
117 aforementioned :meth:`loop.run_in_executor` method can also be used
133 event loop. See the :meth:`loop.run_in_executor` method for more
Dasyncio-llapi-index.rst104 * - ``await`` :meth:`loop.run_in_executor`
109 - Set the default executor for :meth:`loop.run_in_executor`.
Dasyncio-eventloop.rst185 :exc:`RuntimeError` will be raised if :meth:`loop.run_in_executor` is called
1081 .. awaitablemethod:: loop.run_in_executor(executor, func, *args)
1111 result = await loop.run_in_executor(
1117 result = await loop.run_in_executor(
1123 result = await loop.run_in_executor(
1135 :meth:`loop.run_in_executor` no longer configures the
1143 Set *executor* as the default executor used by :meth:`run_in_executor`.
Dasyncio-task.rst207 is :meth:`loop.run_in_executor`.
/third_party/python/Lib/test/test_asyncio/
Dtest_windows_events.py223 f = self.loop.run_in_executor(None, lambda: None)
Dtest_events.py370 f2 = self.loop.run_in_executor(None, run, 'yo')
385 f2 = self.loop.run_in_executor(None, run)
1741 it = self.loop.run_in_executor(None, func).__await__()
2511 await loop.run_in_executor(f, f)
2704 result = await self.loop.run_in_executor(
Dtest_tasks.py3629 future = self.loop.run_in_executor(None, self.target)
3636 future = self.loop.run_in_executor(None, self.target, True)
3645 future = self.loop.run_in_executor(None, callback)
3657 future = self.loop.run_in_executor(None, callback)
3668 run = self.loop.run_in_executor(
Dtest_base_events.py992 self.loop.run_in_executor(None, support.gc_collect))
1915 self.loop.run_in_executor(None, func))
/third_party/python/Misc/NEWS.d/
D3.7.0b5.rst168 Fix RuntimeError after closing loop that used run_in_executor
D3.6.0b2.rst672 Deprecate passing asyncio.Handles to run_in_executor.
D3.6.6rc1.rst202 Fix RuntimeError after closing loop that used run_in_executor
D3.10.0a1.rst1413 Change the method asyncio.AbstractEventLoop.run_in_executor to not be a
2288 :meth:`~asyncio.loop.run_in_executor` that can directly take keyword
D3.5.3rc1.rst1578 Deprecate passing asyncio.Handles to run_in_executor.
D3.7.0a1.rst4674 Deprecate passing asyncio.Handles to run_in_executor.
D3.8.0a1.rst4508 Fix RuntimeError after closing loop that used run_in_executor
/third_party/python/Doc/whatsnew/
D3.9.rst367 :meth:`~asyncio.loop.run_in_executor` that can directly take keyword arguments.