theatre-dev 0.4.0.1 → 0.4.0.2
raw patch · 2 files changed
+5/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- library/TheatreDev/Daemon.hs +4/−3
- theatre-dev.cabal +1/−1
library/TheatreDev/Daemon.hs view
@@ -28,7 +28,7 @@ -- If an exception is thrown by this action, -- the iteration loop will stop, -- the 'cleanUp' action will get executed and- -- in all place where 'wait' is called the exception will be rethrown.+ -- in all places where 'wait' is called the exception will be rethrown. iterate :: state -> IO state, -- | Clean up after the iteration loop is stopped. -- You can use that to release resources or@@ -105,8 +105,9 @@ kill daemon = atomically daemon.kill --- | Block waiting for the daemon to die either due to getting killed--- or due to its iterator action throwing an exception.+-- | Block waiting for the daemon to die and execute its 'cleanUp' action+-- either due to getting killed+-- or due to its 'iterate' action throwing an exception. -- The exception will get rethrown here. wait :: Daemon -> IO () wait daemon =
theatre-dev.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: theatre-dev-version: 0.4.0.1+version: 0.4.0.2 category: Concurrency, Actors synopsis: Minimalistic actor library experiments description: