Add Runtime.Bus with channel-based effect interpreter

This commit is contained in:
2026-08-20 19:29:56 +03:00
parent aa5a91bfa3
commit 78248388ac
7 changed files with 114 additions and 16 deletions
+8 -2
View File
@@ -62,6 +62,7 @@ library
exposed-modules: AFRP
, HomeAssistant.Controller
, HomeAssistant.Runtime
, HomeAssistant.Runtime.Bus
-- Modules included in this library but not exported.
-- other-modules:
@@ -79,6 +80,7 @@ library
, network
, bytestring
, time
, stm
-- Directories containing source files.
hs-source-dirs: src
@@ -118,7 +120,7 @@ test-suite home-assistant-controller-test
default-language: GHC2024
-- Modules included in this executable, other than Main.
-- other-modules:
other-modules: BusSpec
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
@@ -135,4 +137,8 @@ test-suite home-assistant-controller-test
-- Test dependencies.
build-depends:
base ^>=4.20.2.0,
home-assistant-controller
home-assistant-controller,
hspec,
stm,
aeson,
text