MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / send

Method send

Solutions/8_6/asyncserver.py:48–50  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

46
47 @coroutine
48 def send(self, data):
49 yield 'send', self.sock
50 return self.sock.send(data)
51
52 def __getattr__(self, name):
53 return getattr(self.sock, name)

Callers 2

runFunction · 0.45
echo_handlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected