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

Method _wakeup_waiter

Lib/asyncio/streams.py:468–474  ·  view source on GitHub ↗

Wakeup read*() functions waiting for data or EOF.

(self)

Source from the content-addressed store, hash-verified

466 waiter.set_exception(exc)
467
468 def _wakeup_waiter(self):
469 """Wakeup read*() functions waiting for data or EOF."""
470 waiter = self._waiter
471 if waiter is not None:
472 self._waiter = None
473 if not waiter.cancelled():
474 waiter.set_result(None)
475
476 def set_transport(self, transport):
477 assert self._transport is None, 'Transport already set'

Callers 2

feed_eofMethod · 0.95
feed_dataMethod · 0.95

Calls 2

cancelledMethod · 0.45
set_resultMethod · 0.45

Tested by

no test coverage detected