@@ -101,18 +101,6 @@ data Status a = AutoUpdated
101101 -- Number of times used since we started/switched
102102 -- off manual updates.
103103
104−-- | A value which will be updated, either via a dedicated thread or when
105−-- requested. Request the current value with @getCurrent@.
106−--
107−-- Since 0.1.0
108−data AutoUpdate a = AutoUpdate
109−-- We use bang patterns on all arguments to ensure no bottoms leak in.
110− { auFreq :: {-# UNPACK #-} !Int
111− , auSpawnThreadhold :: {-# UNPACK #-} !Int
112− , auAction :: !(IO ())
113− , auStatus :: !(IORef (Status a))
114− }
115−
116104-- | Generate an action which will either read from an automatically
117105-- updated value, or run the update action in the current thread.
118106--