def pending(self) -> int: """ Get the number of pending output bytes following the transport's head pointer. :return: The number of pending output bytes. :raise: :exc:`TransportException` if there is any Proton error. """ p = pn_transport_pending(self._impl) if p >= PN_EOS: return p else: return self._check(p)
def pending(self): p = pn_transport_pending(self._impl) if p >= PN_EOS: return p else: return self._check(p)