streaming: a list of events can contain multiple types
Anticipate Redis streams which will contain more than one event type. You can use StreamEvent.merge_factory(events)
where events
is the raw list of stream indices and data returned by the Redis XREAD command.
Edited by Wout De Nolf