NostrStreamsControllers class
A service that manages the relays streams messages
Constructors
Properties
-
events
→ Stream<
NostrEvent> -
This is the stream which will have all events from all relays, all your sent requests will be included in this stream, and so in order to filter them, you will need to use the Stream.where method.
no setter
-
eventsController
→ StreamController<
NostrEvent> -
This is the controller which will receive all events from all relays.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClosed → bool
-
no setter
-
notices
→ Stream<
NostrNotice> -
This is the stream which will have all notices from all relays, all of them will be included in this stream, and so in order to filter them, you will need to use the Stream.where method.
no setter
-
noticesController
→ StreamController<
NostrNotice> -
This is the controller which will receive all notices from all relays.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> - Closes all streams.
-
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