move EventsStream out to its own file

This commit is contained in:
Richard van der Hoff 2019-03-27 10:06:21 +00:00
parent a5798de067
commit aa1e017864
3 changed files with 42 additions and 23 deletions

View file

@ -25,12 +25,12 @@ Each stream is defined by the following information:
update_function: The function that returns a list of updates between two tokens
"""
from . import _base
from . import _base, events
STREAMS_MAP = {
stream.NAME: stream
for stream in (
_base.EventsStream,
events.EventsStream,
_base.BackfillStream,
_base.PresenceStream,
_base.TypingStream,