Open baransu opened 7 years ago
Right now WebSockets are very primitive. Converting it to promise based approach allow us sending promise based messages to server.
socket.send('topic', { message }) .then(response => {}) .catch(error => {})
We have to put some work into restoring lost connection as well because maybe we're using erlangpl on separate machine within the same network and we lost connection, etc.
erlangpl
Socket connection should be exported to epl-components
epl-components
Right now WebSockets are very primitive. Converting it to promise based approach allow us sending promise based messages to server.
We have to put some work into restoring lost connection as well because maybe we're using
erlangpl
on separate machine within the same network and we lost connection, etc.