Published any elements from source of A
to this topic.
Published any elements from source of A
to this topic.
If any of the subscribers reach its maxQueued
limit, then this will hold to publish next element
before that subscriber consumes it's elements or terminates.
Publish one A
to topic.
Publish one A
to topic.
This will wait until A
is published to all subscribers.
If one of the subscribers is over the maxQueued
limit, this will wait to complete until that subscriber processes
some of its elements to get room for this new. published A
Subscribes to receive any published A
to this topic.
Subscribes to receive any published A
to this topic.
Always returns last A
published first, and then any next A
published.
If the subscriber is over maxQueued
bound of messages awaiting to be processed,
then publishers will hold into publishing to the queue.
Subscribes to receive published A
to this topic.
Subscribes to receive published A
to this topic.
Always returns last A
published first, and then any next A
available
Additionally this emits current size of the queue of A
for this subscriber allowing
you to terminate (or adjust) the subscription if subscriber is way behind the elements available.
Note that queue size is approximate and may not be exactly the size when A
was taken.
If the subscriber is over maxQueued
bound of messages awaiting to be processed,
then publishers will hold into publishing to the queue.
Signal of current active subscribers
Returns an alternate view of this Topic
where its elements are of type B,
given back and forth function from A
to B
.
Asynchronous Topic.
Topic allows you to distribute
A
published by arbitrary number of publishers to arbitrary number of subscribers.Topic has built-in back-pressure support implemented as maximum bound (
maxQueued
) that a subscriber is allowed to enqueue. Once that bound is hit, publishing may semantically block until the lagging subscriber consumes some of its queued elements.Additionally the subscriber has possibility to terminate whenever size of enqueued elements is over certain size by using
subscribeSize
.