| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
UnliftIO.AutoUpdate.Types
Synopsis
- data UpdateSettings m a = UpdateSettings {
- updateFreq :: Int
- updateSpawnThreshold :: Int
- updateAction :: m a
- updateThreadName :: String
- defaultUpdateSettings :: UpdateSettings Identity ()
Documentation
data UpdateSettings m a Source #
Settings to control how values are updated.
This should be constructed using defaultUpdateSettings and record
update syntax, e.g.:
let settings =defaultUpdateSettings{updateAction=getCurrentTime}
Since: 0.1.0
Constructors
| UpdateSettings | |
Fields
| |
defaultUpdateSettings :: UpdateSettings Identity () Source #
Default value for creating an UpdateSettings.
Since: 0.1.0