Safe Haskell | None |
---|---|
Language | Haskell2010 |
PMS.Infra.ProcSpawn.DS.Utility
Synopsis
- runApp :: DomainData -> AppData -> TimedFastLogger -> AppContext a -> IO (Either ErrorData a)
- liftIOE :: IO a -> AppContext a
- toolsCallResponse :: TQueue McpResponse -> JsonRpcRequest -> ExitCode -> String -> String -> IO ()
- errorToolsCallResponse :: JsonRpcRequest -> String -> AppContext ()
- runProc :: TMVar (Maybe ProcData) -> String -> [String] -> [(String, String)] -> IO ()
- readProc :: ProcData -> IO ByteString
Documentation
runApp :: DomainData -> AppData -> TimedFastLogger -> AppContext a -> IO (Either ErrorData a) Source #
liftIOE :: IO a -> AppContext a Source #
toolsCallResponse :: TQueue McpResponse -> JsonRpcRequest -> ExitCode -> String -> String -> IO () Source #
errorToolsCallResponse :: JsonRpcRequest -> String -> AppContext () Source #