MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / read

Function read

src/network/asyncore_pollchoose.py:115–123  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

113sentBytes = 0
114
115def read(obj):
116 if not can_receive():
117 return
118 try:
119 obj.handle_read_event()
120 except _reraised_exceptions:
121 raise
122 except:
123 obj.handle_error()
124
125def write(obj):
126 if not can_send():

Callers 2

select_pollerFunction · 0.85
kqueue_pollerFunction · 0.85

Calls 3

can_receiveFunction · 0.85
handle_read_eventMethod · 0.80
handle_errorMethod · 0.80

Tested by

no test coverage detected