@synchronized('lock')
    def tx_commit(self):
        self._send_method(Method(spec.Tx.Commit))
        return self.wait(spec.Tx.CommitOk)
Throw away any existing events so we don't replay history.
dataset/ETHPy150Open veegee/amqpy/amqpy/channel.py/Channel.tx_commit--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/nx584.py/NX584Watcher._run