aboutsummaryrefslogtreecommitdiff
path: root/hsm-dummy-pulser/Main.hs
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2025-01-14 15:58:56 -0800
committerPaul Oliver <contact@pauloliver.dev>2025-01-16 18:30:09 -0800
commit00ad7b9a1c798e611a0c0b7fcbfa5ee76c2f39c4 (patch)
treef2bcbcd0a8b2a3425b8baec668fccc62a4037ac1 /hsm-dummy-pulser/Main.hs
parentcc639b06c7126fac7b445d8f778455620d7f8f50 (diff)
Adds minimal documentation
Diffstat (limited to 'hsm-dummy-pulser/Main.hs')
-rw-r--r--hsm-dummy-pulser/Main.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/hsm-dummy-pulser/Main.hs b/hsm-dummy-pulser/Main.hs
index 3d734ba..48a5302 100644
--- a/hsm-dummy-pulser/Main.hs
+++ b/hsm-dummy-pulser/Main.hs
@@ -50,6 +50,8 @@ stateRun = F.FsmState "run" action
Nothing
[(LogAttention, "Reached " <> pack (show env.pulses) <> " pulses")]
+-- Dummy pulser service:
+-- Proof of concept. Publishes a "pulse" through ZMQ at a set interval.
main :: IO ()
main =
launch @Env "dummy-pulser" withoutInputEcho $ \env logger level ->