

def register_receive_callback(self, callback):
    'Register a raw buffer receive callback\n\n        Parameters\n        ----------\n        callback : callable\n            The callback. The raw buffer is passed as the first parameter\n            to callback.\n        '
    if (self not in self._recv_callbacks):
        self._recv_callbacks.append(callback)

dataset/ETHPy150Open mne-tools/mne-python/mne/realtime/client.py RtClient.register_receive_callback/VarMisuse@16/83 `callback`->`self`