def register_receive_callback(self, callback):
        if callback not in self._recv_callbacks:
            self._recv_callbacks.append(callback)
Register a raw buffer receive callback.
dataset/ETHPy150Open mne-tools/mne-python/mne/realtime/fieldtrip_client.py/FieldTripClient.register_receive_callback