Websockets with message callback

github logo ・1 min read

This is a part of a larger project that I've worked on and I figured other people might find it useful.

Project: https://github.com/aidv/websockets-callback

In my project I send data to a server using WebSockets and then waits for a response until the data has been processed.

Once a response is received a callback is executed and the user is notified.

My library simplifies such a flow a lot and code can be written like one would write any callback driven code.

twitter logo DISCUSS
Classic DEV Post from May 31

Presentation Tips for Technical Talks

Presentation Tips for Technical Talks

aidv profile image
I like to make stuff

Need change?

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️