Gets publisher to this topic.
Gets publisher to this topic. There may be multiple publishers to this topic.
publishes single A
to this topic.
Gets subscriber from this topic.
Gets subscriber from this topic. There may be multiple subscribers to this topic. Subscriber subscribes and un-subscribes when it is run or terminated.
Will close
this topic.
Will close
this topic. Once closed
all publishers and subscribers are halted via End
.
When this topic is closed
or failed
this is no-op
The resulting task is completed _after_ all publishers and subscribers are signalled with End
Will fail
this topic.
Will fail
this topic. Once failed
all publishers and subscribers will terminate with cause err
.
When this topic is finished
or failed
this is no-op
The resulting task is completed _after_ all publishers and subscribers are signalled with err
Causes this topic to be closed and all subscribers to this topic to be killed immediately.
Causes this topic to be closed and all subscribers to this topic to be killed immediately.
he resulting task is completed _after_ all publishers and subscribers are signalled with Kill
Represents topic, that asynchronously exchanges messages between one or more publisher(s) and one or more subscriber(s).
Guarantees: - Order of messages from publisher is guaranteed to be preserved to all subscribers - Messages from publishers may interleave in non deterministic order before they are read by subscribers - Once the
subscriber
is run it will receive all messages from allpublishers
starting with very first message arrived AFTER the subscriber was runPlease note that topic is
active
even when there are no publishers or subscribers attached to it. However once theclose
orfail
is called all the publishers and subscribers will terminate or fail.Once topic if closed or failed, all new publish or subscribe attempts will fail with reason that was used to close or fail the topic.