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

Method _call_soon

Lib/asyncio/base_events.py:846–851  ·  view source on GitHub ↗
(self, callback, args, context)

Source from the content-addressed store, hash-verified

844 f'got {callback!r}')
845
846 def _call_soon(self, callback, args, context):
847 handle = events.Handle(callback, args, self, context)
848 if handle._source_traceback:
849 del handle._source_traceback[-1]
850 self._ready.append(handle)
851 return handle
852
853 def _check_thread(self):
854 """Check that the current thread is the thread running the event loop.

Callers 1

call_soonMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected