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

Method send_buffer

Lib/test/support/channels.py:249–261  ·  view source on GitHub ↗

Send the object's buffer to the channel's receiving end. This blocks until the object is received.

(self, obj, timeout=None, *,
                    unbounditems=None,
                    )

Source from the content-addressed store, hash-verified

247 return _channels.send(self._id, obj, unboundop, blocking=False)
248
249 def send_buffer(self, obj, timeout=None, *,
250 unbounditems=None,
251 ):
252 """Send the object's buffer to the channel's receiving end.
253
254 This blocks until the object is received.
255 """
256 if unbounditems is None:
257 unboundop = -1
258 else:
259 unboundop, = _serialize_unbound(unbounditems)
260 _channels.send_buffer(self._id, obj, unboundop,
261 timeout=timeout, blocking=True)
262
263 def send_buffer_nowait(self, obj, *,
264 unbounditems=None,

Callers 1

send_buffer_nowaitMethod · 0.80

Calls 1

_serialize_unboundFunction · 0.85

Tested by

no test coverage detected