Constructs a Stream which only emits events that can be categorized under key.
GroupedStream(this.key, Stream<T> stream) : super(stream);