Factory method used to create the Stream which will be buffered
final Stream<dynamic> Function(S event)? windowStreamFactory;