def get_js(self):
        if self._request_uri is None:
            raise SijaxError('Trying to get the sijax js, '
                             'but no request_uri has been set!')

        js = 'Sijax.setRequestUri(%s);' % json.dumps(self._request_uri)
        if self._json_uri is not None:
            js += 'Sijax.setJsonUri(%s);' % json.dumps(self._json_uri)
        return js
Stop the receive thread
dataset/ETHPy150Open spantaleev/sijax-python/sijax/core.py/Sijax.get_js--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/realtime/client.py/RtClient.stop_receive_thread