def registerCallback(self, callback):
        self.cb_lock.acquire()
        if callback not in self.cb:
            self.cb.append(callback)
        self.cb_lock.release()
dataset/ETHPy150Open mvillalba/python-ant/src/ant/core/node.py/Channel.registerCallback/original