ZManagedTHubSyntax

final implicit class ZManagedTHubSyntax[A](self: THub[A]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

final def subscribeManaged(implicit trace: Trace): ZManaged[Any, Nothing, TDequeue[A]]

Subscribes to receive messages from the hub. The resulting subscription can be evaluated multiple times within the scope of the managed 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 managed to take a message from the hub each time.