hydra-node-0.19.0: The Hydra node
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Node.InputQueue

Description

The general input queue from which the Hydra head is fed with inputs.

Synopsis

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

Constructors

InputQueue 

Fields

data Queued a Source #

Constructors

Queued 

Fields

createInputQueue :: (MonadDelay m, MonadAsync m, MonadLabelledSTM m) => m (InputQueue m e) Source #