def process_request(self):
        if not self.is_sijax_request:
            raise SijaxError('You should not call this for non-Sijax requests!')

        function_name = self.requested_function
        if function_name in self._callbacks:
            options = self._callbacks[function_name]
            args = self.request_args
        else:
            # Function not registered.. Let's call the invalid request handler
            # passing to it the function name that should've been called
            args = [function_name]
            callback = self._events[self.__class__.EVENT_INVALID_REQUEST]
            options = {self.__class__.PARAM_CALLBACK: callback}

        return self.execute_callback(args, **options)
Worker thread that constantly receives buffers
dataset/ETHPy150Open spantaleev/sijax-python/sijax/core.py/Sijax.process_request--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/realtime/client.py/_buffer_recv_worker