StreamResponseCleaner constructor
StreamResponseCleaner({
- required Set<
String> trackingSet, - required List<
Stream< inputStreams,Nip01Event> > - required StreamController<
Nip01Event> outController, - required List<
EventFilter> eventOutFilters,
trackingSet
a set of ids that are already returned \inputStreams
a list of streams that are be listened to \outController
the controller that is used to add the events to \
Implementation
StreamResponseCleaner({
required Set<String> trackingSet,
required List<Stream<Nip01Event>> inputStreams,
required StreamController<Nip01Event> outController,
required List<EventFilter> eventOutFilters,
}) : _trackingSet = trackingSet,
_outController = outController,
_inputStreams = inputStreams,
_eventOutFilters = eventOutFilters;