Send the object's buffer to the channel's receiving end. This blocks until the object is received.
(self, obj, timeout=None, *,
unbounditems=None,
)
| 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, |
no test coverage detected