Asynchronous queue interface.
A signal whose value may be set asynchronously.
A signal whose value may be set asynchronously. Provides continuous and discrete streams for responding to changes to this value.
Represents topic, that asynchronously exchanges messages between one or more publisher(s) and one or more subscriber(s).
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 all publishers
starting with very first message
arrived AFTER the subscriber was run
Please note that topic is active
even when there are no publishers or subscribers attached to it. However
once the close
or fail
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.
Like a Topic
, but allows to specify Writer1
to eventually write
the state W
or produce O
from arriving messages of I
to this topic
Asynchronous queue interface. Operations are all nonblocking in their implementations, but may be 'semantically' blocking. For instance, a queue may have a bound on its size, in which case enqueuing may block until there is an offsetting dequeue.