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

Hercules.Agent.Socket

Synopsis

Documentation

withReliableSocket :: (FromJSON sp, ToJSON ap, MonadIO m, 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