Toggle controllers

This commit is contained in:
MasseR committed 2026-08-21 12:02:42 +03:00
1 parent 5954c68682
commit dfc744842d
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ spec :: Spec
spec = describe "runController" $ do
it "feeds inbound events through the machine and forwards service calls" $ do
bus <- newBus 0
_ <- async (runController bus (Controller "test" lightController))
_ <- async (runController bus (Controller "test" lightController True))
putStrLn "Before the delay"
threadDelay 100000 -- let the controller dup its inbound channel
putStrLn "After the delay"