Constructors
UpdateStateusUpdateAction_ :: a -> IO ausLastResult_ :: IORef ausIntervalMicro_ :: IntusTimeHasCome_ :: TVar BoolusDeleteTimeout_ :: IORef (IO ())
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Moduleauto-update-0.2.6Haskell2010
UpdateStateusUpdateAction_ :: a -> IO ausLastResult_ :: IORef ausIntervalMicro_ :: IntusTimeHasCome_ :: TVar BoolusDeleteTimeout_ :: IORef (IO ())iref <- newIORef (0 :: Int)action = modifyIORef iref (+ 1) >> readIORef iref(getValue, closeState) <- mkClosableAutoUpdate $ defaultUpdateSettings { updateFreq = 200_000, updateAction = action }getValue1threadDelay 100_000 >> getValue1threadDelay 200_000 >> getValue2closeState
provide UpdateState for debugging