Add Runtime.Bus with channel-based effect interpreter
This commit is contained in:
1 parent
aa5a91bfa3
commit
78248388ac
7 files changed
+114
-16
No files matched your search
@@ -40,7 +40,7 @@ data Service = Service
|
||||
, serviceData :: Maybe Value
|
||||
, serviceTarget :: T.Text
|
||||
}
|
||||
deriving Show
|
||||
deriving (Show, Eq)
|
||||
|
||||
data HASSEff a where
|
||||
CallService :: Service -> HASSEff ()
|
||||
|
||||
Reference in new issue
Block a user