ouroboros-network-framework
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Network.Subscription.Subscriber

Synopsis

Documentation

newtype SubscriptionTarget (m :: Type -> Type) target Source #

Generate subscription targets in some monad. Examples include obtaining targets from a fixed list, or from a DNS lookup.

Constructors

SubscriptionTarget 

Fields

listSubscriptionTarget :: forall (m :: Type -> Type) target. Applicative m => [target] -> SubscriptionTarget m target Source #