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

Method writer

Lib/test/test_asyncio/test_events.py:547–549  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

545 w.setblocking(False)
546
547 def writer(data):
548 w.send(data)
549 self.loop.stop()
550
551 data = b'x' * 1024
552 self.loop.add_writer(w.fileno(), writer, data)

Callers

nothing calls this directly

Calls 2

sendMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected