alan-turing-institute / spatial-inequality

MIT License
9 stars 1 forks source link

Enable web sockets on back-end #14

Closed davidherbert2 closed 4 years ago

davidherbert2 commented 4 years ago

Looking for the modern way of doing the polling of progress from the backend model. This looks like WebSockets, which has a Javascript implementation. These need to be enabled at the server end as well (see https://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent for examples, and https://flask-socketio.readthedocs.io/en/latest/ for docs).