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