Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Promise based WebSockets #22

@baransu

Description

@baransu

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions