Searched refs:run_in_executor (Results 1 – 19 of 19) sorted by relevance
25 return await loop.run_in_executor(None, func_call)
799 def run_in_executor(self, executor, func, *args): member in BaseEventLoop855 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)
286 def run_in_executor(self, executor, func, *args): member in AbstractEventLoop
105 The :meth:`loop.run_in_executor` method can be used with a117 aforementioned :meth:`loop.run_in_executor` method can also be used133 event loop. See the :meth:`loop.run_in_executor` method for more
104 * - ``await`` :meth:`loop.run_in_executor`109 - Set the default executor for :meth:`loop.run_in_executor`.
185 :exc:`RuntimeError` will be raised if :meth:`loop.run_in_executor` is called1081 .. 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 the1143 Set *executor* as the default executor used by :meth:`run_in_executor`.
207 is :meth:`loop.run_in_executor`.
223 f = self.loop.run_in_executor(None, lambda: None)
370 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(
3629 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(
992 self.loop.run_in_executor(None, support.gc_collect))1915 self.loop.run_in_executor(None, func))
168 Fix RuntimeError after closing loop that used run_in_executor
672 Deprecate passing asyncio.Handles to run_in_executor.
202 Fix RuntimeError after closing loop that used run_in_executor
1413 Change the method asyncio.AbstractEventLoop.run_in_executor to not be a2288 :meth:`~asyncio.loop.run_in_executor` that can directly take keyword
1578 Deprecate passing asyncio.Handles to run_in_executor.
4674 Deprecate passing asyncio.Handles to run_in_executor.
4508 Fix RuntimeError after closing loop that used run_in_executor
367 :meth:`~asyncio.loop.run_in_executor` that can directly take keyword arguments.