Skip to content
Snippets Groups Projects
Commit 7ddb7a5c authored by Kegan Dougal's avatar Kegan Dougal
Browse files

Event streaming now happens on an app level, rather than a per-room level....

Event streaming now happens on an app level, rather than a per-room level. Make eventStreamService manage it's own repolling provided no one calls stop() on it. Couple the stream with eventHandlerService so any controller can just blithely call eventStreamService.resume() and expect to 'get stuff' without having to handle promises (though resume() still returns a promise for that request and proxies it through $q). Kill and reset the stream if you logout.
parent c51cf4ef
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment