hercules-ci-agent-0.10.1: Runs Continuous Integration tasks on your machines
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hercules.Agent.Socket

Synopsis

Documentation

withReliableSocket :: (FromJSON sp, ToJSON ap, MonadUnliftIO m, KatipContext m) => SocketConfig ap sp m -> (Socket sp ap -> m a) -> m a Source #

checkVersion' :: Applicative m => ServiceInfo -> m (Either Text ()) Source #

data Socket r w Source #

Constructors

Socket 

Fields

syncIO :: Socket r w -> IO () Source #

data SocketConfig ap sp m Source #

Parameters to start withReliableSocket.

Constructors

SocketConfig 

Fields