Remote Evented
javascript remote evented driven with engine.io built on top of findhit-evented
Instalation
npm install findhit-remote-evented --save
Usage
// We need an already stablished engine.io socket connection!// so i will suppose that you already have onevar socket; var RemoteEvented = ; var Call = RemoteEvented; // We could extend it to a new class and setup it with a specific socket.// In this case we will setup directly on current class `.setup( namespace, socket )`Call; // When you create an instance, another party will create one alsovar bruno = ; // You can bind or fire events as `findhit-evented`bruno;bruno;bruno; // And now from remote partybruno;bruno;bruno; // Thats it, take a look at `test` and `example` folders for more cases.// You don't see them? Pull Request them :)