decentralized-message-queue
Safe HaskellNone
LanguageHaskell2010

DMQ.Diffusion.NodeKernel

Documentation

data NodeKernel ntnAddr (m :: Type -> Type) Source #

Constructors

NodeKernel 

Fields

withNodeKernel Source #

Arguments

:: (MonadAsync m, MonadFork m, MonadDelay m, MonadLabelledSTM m, MonadMask m, MonadMVar m, MonadTime m, Ord ntnAddr) 
=> StdGen 
-> (NodeKernel ntnAddr m -> m a)

as soon as the callback exits the mempoolWorker will be killed

-> m a