A THub
is a transactional message hub. Publishers can publish messages to
the hub and subscribers can subscribe to take messages from the hub.
Attributes
- Companion:
- object
- Graph
- Supertypes
Members list
Value members
Abstract methods
Publishes a message to the hub, returning whether the message was published to the hub.
Publishes a message to the hub, returning whether the message was published to the hub.
Attributes
Publishes all of the specified messages to the hub, returning whether they were published to the hub.
Publishes all of the specified messages to the hub, returning whether they were published to the hub.
Attributes
Subscribes to receive messages from the hub. The resulting subscription can be evaluated multiple times to take a message from the hub each time. The caller is responsible for unsubscribing from the hub by shutting down the queue.
Subscribes to receive messages from the hub. The resulting subscription can be evaluated multiple times to take a message from the hub each time. The caller is responsible for unsubscribing from the hub by shutting down the queue.
Attributes
Concrete methods
Waits for the hub to be shut down.
Checks if the queue is empty.
Checks if the queue is at capacity.
Offers a value to the queue, returning whether the value was offered to the queue.
Offers a value to the queue, returning whether the value was offered to the queue.
Attributes
Offers all of the specified values to the queue, returning whether they were offered to the queue.
Offers all of the specified values to the queue, returning whether they were offered to the queue.
Attributes
Subscribes to receive messages from the hub. The resulting subscription can be evaluated multiple times within the scope to take a message from the hub each time.
Subscribes to receive messages from the hub. The resulting subscription can be evaluated multiple times within the scope to take a message from the hub each time.
Attributes
Inherited methods
The maximum capacity of the queue.
Checks whether the queue is shut down.
Shuts down the queue.