MCPcopy Index your code
hub / github.com/RustPython/RustPython / _check_default_executor

Method _check_default_executor

Lib/asyncio/base_events.py:552–554  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

550 raise RuntimeError('Event loop is closed')
551
552 def _check_default_executor(self):
553 if self._executor_shutdown_called:
554 raise RuntimeError('Executor shutdown has been called')
555
556 def _asyncgen_finalizer_hook(self, agen):
557 self._asyncgens.discard(agen)

Callers 1

run_in_executorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected