Skip to content
Snippets Groups Projects
  1. Feb 12, 2022
  2. Jan 02, 2022
    • Jens Nolte's avatar
      Move throwToResourceManager to MonadResourceManager · 3f5e71ef
      Jens Nolte authored
      This adds the capability to report exceptions from both ResourceManagerIO and
      ResourceManagerSTM, further increasing feature parity.
      
      Adds a timeout to the root resource manager before exceptions are logged
      to the console (usually they are thrown as a CombinedException, so
      logging is only required for debugging visibility when resource
      management is deadlocked).
      3f5e71ef
    • Jens Nolte's avatar
      Add MonadResourceManager instance for STM · 26fe5082
      Jens Nolte authored
      Since creating and attaching resources was already possible from STM,
      removing the MonadAwait/MonadIO/MonadMask-constraints from
      MonadResourceManager is the primary change in this commit.
      26fe5082
  3. Dec 18, 2021
    • Jens Nolte's avatar
      Remove awaitable caching · f0fd12ae
      Jens Nolte authored
      
      This reduces awaitable back to a simple newtype wrapper over the STM
      monad. While caching worked well, it was only applicable in very few
      situations. Based on the high complexity, the rare use cases and the
      negative interaction with STM we decided to remove caching.
      
      Co-authored-by: default avatarJan Beinke <git@janbeinke.com>
      f0fd12ae
  4. Nov 23, 2021
  5. Nov 03, 2021
  6. Oct 30, 2021
  7. Oct 29, 2021
  8. Oct 24, 2021
  9. Oct 07, 2021
  10. Oct 06, 2021
  11. Oct 05, 2021
  12. Oct 04, 2021
  13. Oct 03, 2021
  14. Sep 30, 2021
  15. Sep 26, 2021
  16. Sep 18, 2021
  17. Sep 05, 2021
  18. Sep 03, 2021
  19. Sep 01, 2021
  20. Aug 31, 2021
    • Jens Nolte's avatar
      Rework async behavior · 170e3e80
      Jens Nolte authored
      
      Remove implicit MonadAsync constraint on `ReaderT ResourceManager IO`
      to prevent accidental forking in a resource-limited context.
      
      Change return type to `Awaitable` to match new MonadResourceManager
      behavior.
      
      Add `runUnlimitedAsync` to run a forking MonadAsync.
      
      Add `forkTask` functions for explicit forking in any context.
      
      Co-authored-by: default avatarJan Beinke <git@janbeinke.com>
      170e3e80
  21. Aug 30, 2021
  22. Aug 29, 2021
  23. Aug 26, 2021
  24. Aug 25, 2021
Loading