A Hub[A]
is a concurrent data structure that allows multiple publishers to
publish A
values and multiple subscribers to poll A
values with the
guarantee that all subscribers will receive all values published to the hub
while they are subscribed.
- Companion:
- object
Value members
Abstract methods
Publishes the specified value to the hub and returns whether the value was successfully published to the hub.
Publishes the specified value to the hub and returns whether the value was successfully published to the hub.
Publishes the specified values to the hub, returning the values that could not be successfully published to the hub.
Publishes the specified values to the hub, returning the values that could not be successfully published to the hub.