TranscendVR / transcend

The VR classroom experience.
https://transcend.herokuapp.com/
MIT License
27 stars 4 forks source link

Clean up Async Code to define clear stages based on state #85

Open bushidocodes opened 7 years ago

bushidocodes commented 7 years ago

@Jmikeydarby spitballed a pretty good sequence of atomic stages that we can use to bring some sanity to how we handle the lifecycle of a client joining our server. Awesome idea, not enough time. This is filed away for use later when we want to keep this project improving.

Stage One: Login Stage Two: socket connection Stage Three: get all data Stage Four: Render Stage Five: Initiate WebRTC Handshaking and Peering

bushidocodes commented 7 years ago

This approach should be extended to include transportation between scenes, planned logout, and unplanned disconnects.