StreamResponseCleaner class
given a stream with Nip01 events it tracks the id and adds the one to the provided stream controller
tracking of the happens in the tracking list
Constructors
-
StreamResponseCleaner({required Set<
String> trackingSet, required List<Stream< inputStreams, required StreamController<Nip01Event> >Nip01Event> outController, required int? timeout, 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 \timeout
the timeout for the stream, if null RequestDefaults.DEFAULT_STREAM_IDLE_TIMEOUT is used
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited