EphemeralHubEventSocket<T> class

HubEventSocket for ephemeral event messages.

Inheritance

Constructors

EphemeralHubEventSocket(EventHubService _hub, String topic, {TransferBean<T>? bean})

Properties

bean TransferBean<T>?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topic String
finalinherited

Methods

getStream(String subTopic, {int? prefetch}) Stream<HubEvent<T>>
Returns a stream of events delivered by this socket.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(String subTopic, T event) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited