Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ run_in_executor
Method
run_in_executor
Lib/asyncio/events.py:336–337 ·
view source on GitHub ↗
(self, executor, func, *args)
Source
from the content-addressed store, hash-verified
334
raise
NotImplementedError
335
336
def
run_in_executor(self, executor, func, *args):
337
raise
NotImplementedError
338
339
def
set_default_executor(self, executor):
340
raise
NotImplementedError
Callers
15
inner
Method · 0.95
to_thread
Function · 0.45
test_run_in_executor
Method · 0.45
test_run_in_executor_cancel
Method · 0.45
test_close
Method · 0.45
main
Method · 0.45
test_read_self_pipe_restart
Method · 0.45
test_asyncgen_finalization_by_gc_in_other_thread
Method · 0.45
test_call_coroutine
Method · 0.45
test_run_coroutine_threadsafe
Method · 0.45
test_run_coroutine_threadsafe_with_exception
Method · 0.45
test_run_coroutine_threadsafe_with_timeout
Method · 0.45
Calls
no outgoing calls
Tested by
15
inner
Method · 0.76
test_run_in_executor
Method · 0.36
test_run_in_executor_cancel
Method · 0.36
test_close
Method · 0.36
main
Method · 0.36
test_read_self_pipe_restart
Method · 0.36
test_asyncgen_finalization_by_gc_in_other_thread
Method · 0.36
test_call_coroutine
Method · 0.36
test_run_coroutine_threadsafe
Method · 0.36
test_run_coroutine_threadsafe_with_exception
Method · 0.36
test_run_coroutine_threadsafe_with_timeout
Method · 0.36
test_run_coroutine_threadsafe_task_cancelled
Method · 0.36