Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
tClient :: [Text] -> IO [Either Text Text] Source #
test of clientApp via a cRef committer and a canned list of Text
testRun :: IO [Either Text Text] Source #
main test run of client-server functionality the code starts a server in a thread, starts the client in the main thread, and cancels the server on completion. > testRun [Left "receiver: received: echo:1",Right "echo:1",Left "receiver: received: echo:2",Right "echo:2",Left "receiver: received: echo:3",Right "echo:3",Left "receiver: received: close: 1000 "received close signal: responder closed.""]