| Copyright | (c) 2016-17 Brian W Bush |
|---|---|
| License | MIT |
| Maintainer | Brian W Bush <[email protected]> |
| Stability | Experimental |
| Portability | Stable |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.UI.Kafka.Keyboard
Contents
Description
Produce events on a Kafka topic from standard input.
- keyboardLoop :: TopicConnection -> Sensor -> IO (ExitAction, LoopAction)
Event handling
Arguments
| :: TopicConnection | The Kafka topic name and connection information. |
| -> Sensor | The name of the sensor producing events. |
| -> IO (ExitAction, LoopAction) | Action to create the exit and loop actions. |
Produce keyboard events on a Kafka topic from standard input.