Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Settings = Settings {
- settingsQueue :: Queue
- settingsConnection :: ConnectionInfo
- settingsLogDebug :: String -> IO ()
- settingsLogError :: String -> IO ()
- settingsWorkerIdleDelay :: Int
- data ConnectionInfo = ConnectionInfo {}
- defaultSettings :: Settings
- envSettings :: IO Settings
- newtype Queue = Queue Text
- queueArg :: Queue -> ByteString
- defaultQueue :: Queue
- data WorkerId
- randomWorkerId :: IO WorkerId
Documentation
Settings | |
|
data ConnectionInfo Source #
Instances
Eq ConnectionInfo Source # | |
Defined in Faktory.Connection (==) :: ConnectionInfo -> ConnectionInfo -> Bool # (/=) :: ConnectionInfo -> ConnectionInfo -> Bool # | |
Show ConnectionInfo Source # | |
Defined in Faktory.Connection showsPrec :: Int -> ConnectionInfo -> ShowS # show :: ConnectionInfo -> String # showList :: [ConnectionInfo] -> ShowS # |
envSettings :: IO Settings Source #
Defaults, but read
from the environmentConnection
See envConnection
queueArg :: Queue -> ByteString Source #
defaultQueue :: Queue Source #