Send the object (i.e. its data) to the channel's receiving end. This blocks until the object is received.
(self, obj, timeout=None, *,
unbounditems=None,
)
| 213 | return info.closed or info.closing |
| 214 | |
| 215 | def send(self, obj, timeout=None, *, |
| 216 | unbounditems=None, |
| 217 | ): |
| 218 | """Send the object (i.e. its data) to the channel's receiving end. |
| 219 | |
| 220 | This blocks until the object is received. |
| 221 | """ |
| 222 | if unbounditems is None: |
| 223 | unboundop = -1 |
| 224 | else: |
| 225 | unboundop, = _serialize_unbound(unbounditems) |
| 226 | _channels.send(self._id, obj, unboundop, timeout=timeout, blocking=True) |
| 227 | |
| 228 | def send_nowait(self, obj, *, |
| 229 | unbounditems=None, |