DEV Community


Discussion on: Concepts you should know to be a master of JavaScript

epsi profile image
E.R. Nurwijayadi • Edited

I'm actually just another beginner in NodeJS world. To help more beginner, I have made a working example with souce code in github.


First defined both functions, as a sender (producer), and a receiver (customer).

Sender and Receiver

And then run both separately

Run Both in Program Entry Point

I hope this could help other who seeks for other case example.

Thread Thread
mstanciu552 profile image
Mihai Stanciu Author

Thanks for sharing. Helping each other is the only way to improve. 👍😁