Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CommandController
- new :: IO CommandController
- take :: CommandController -> IO IOTCM
- release :: CommandController -> IO ()
- put :: CommandController -> IOTCM -> IO ()
Documentation
data CommandController Source #
new :: IO CommandController Source #
take :: CommandController -> IO IOTCM Source #
Blocks if the front is empty
release :: CommandController -> IO () Source #
Move the payload from the queue to the front Does not block if the front or the queue is empty
put :: CommandController -> IOTCM -> IO () Source #
Does not block Move the payload to the front if the front is empty