Comments (5)
Yup looks like it: https://github.com/incompl/cloak/blob/master/src/server/cloak/index.js#L133-L138
I could see the case for swapping those in a new version. What do you think, @jugglinmike?
from cloak.
To clarify, this is obviously not a deal breaker but I was thrown off by the fact that one could be seen as entering a room (newMember) before one had established a first handshake with the server (begin). Hence my post. I could do a PR if you want.
from cloak.
The begin
, disconnect
and resume
client events are related to the connectivity layer (e.g. web sockets), while the newMember
is an application level concept (e.g room/lobby).
Maybe the documentation needs to be updated to make the distinction clearer.
from cloak.
@gamecubate I'd be happy to look at a PR for that!
from cloak.
Well, judging from @vstirbu's answer, this seems normal. I wouldn't want to rock the boat for so trivial a matter. Will close issue for now.
from cloak.
Related Issues (20)
- Add license to NPM package
- Update chat example to use Cloak 0.2.0
- Make Socket.io an optional dependency
- Lobby.pulse not firing HOT 1
- Trying to run grow21 example throws this error HOT 6
- Example how to use a Timer HOT 5
- misleading output when running cloak with `express` parameter HOT 2
- Missing tarball when downloading from npm. HOT 6
- Configuring socket.io HOT 5
- Document new ability to add socket.io options to client.run HOT 1
- Client configuration passed to server during initial connection? HOT 5
- Create a new game room HOT 2
- Notifications about client connection lifecycle on server
- Control io heartbeat interval and timeout via server configuration HOT 5
- No issue but cry for help HOT 6
- Android API
- client-side cloak.running? HOT 1
- Room seems to be ignoring its size HOT 1
- Maintenance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloak.