StreamResponseCleaner constructor

StreamResponseCleaner({
  1. required Set<String> trackingSet,
  2. required List<Stream<Nip01Event>> inputStreams,
  3. required StreamController<Nip01Event> outController,
  4. 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;