kafka-device-1.0.0.0: UI device events via a Kafka message broker

Copyright(c) 2016-19 Brian W Bush
LicenseMIT
MaintainerBrian W Bush <code@functionally.io>
StabilityProduction
PortabilityPortable
Safe HaskellNone
LanguageHaskell2010

Network.UI.Kafka.Keyboard

Contents

Description

Produce events on a Kafka topic from standard input.

Synopsis

Event handling

keyboardLoop Source #

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.