| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DMQ.Diffusion.NodeKernel
Documentation
data NodeKernel crypto ntnAddr (m :: Type -> Type) Source #
Constructors
| NodeKernel | |
Fields
| |
Arguments
| :: forall crypto ntnAddr m a. (Crypto crypto, MonadAsync m, MonadFork m, MonadDelay m, MonadLabelledSTM m, MonadMask m, MonadMVar m, MonadTime m, Ord ntnAddr, Show ntnAddr, Hashable ntnAddr) | |
| => (forall ev. ToJSON ev => Tracer m (WithEventType ev)) | |
| -> Configuration | |
| -> StdGen | |
| -> (NodeKernel crypto ntnAddr m -> m a) | as soon as the callback exits the |
| -> m a |