A CHub[F, A, B]
is an asynchronous message hub. Publishers can publish
messages of type A
to the hub and subscribers can subscribe to take
messages of type B
from the hub within the context of the effect F
.
A CHub[F, A, B]
is an asynchronous message hub. Publishers can publish
messages of type A
to the hub and subscribers can subscribe to take
messages of type B
from the hub within the context of the effect F
.
- Companion
- object
Value members
Abstract methods
Transforms messages published to the hub using the specified function.
Transforms messages published to the hub using the specified function.
Transforms messages published to the hub using the specified effectual function.
Transforms messages published to the hub using the specified effectual function.
Transforms messages published to and taken from the hub using the specified functions.
Transforms messages published to and taken from the hub using the specified functions.
Transforms messages published to and taken from the hub using the specified effectual functions.
Transforms messages published to and taken from the hub using the specified effectual functions.
Filters messages published to the hub using the specified function.
Filters messages published to the hub using the specified function.
Filters messages published to the hub using the specified effectual function.
Filters messages published to the hub using the specified effectual function.
Filters messages taken from the hub using the specified function.
Filters messages taken from the hub using the specified function.
Filters messages taken from the hub using the specified effectual function.
Filters messages taken from the hub using the specified effectual function.
Transforms messages taken from the hub using the specified function.
Transforms messages taken from the hub using the specified function.
Transforms messages taken from the hub using the specified effectual function.
Transforms messages taken from the hub using the specified effectual function.
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.
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.
Subscribes to receive messages from the hub. The resulting subscription can be evaluated multiple times within the scope of the resource 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 of the resource to take a message from the hub each time.