Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
The general input queue from which the Hydra head is fed with inputs.
Synopsis
- data InputQueue m e = InputQueue {}
- data Queued a = Queued {
- queuedId :: Word64
- queuedItem :: a
- createInputQueue :: (MonadDelay m, MonadAsync m, MonadLabelledSTM m) => m (InputQueue m e)
Documentation
data InputQueue m e Source #
The single, required queue in the system from which a hydra head is "fed". NOTE(SN): this probably should be bounded and include proper logging NOTE(SN): handle pattern, but likely not required as there is no need for an alternative implementation
createInputQueue :: (MonadDelay m, MonadAsync m, MonadLabelledSTM m) => m (InputQueue m e) Source #