packages feed

polysemy-http-0.5.0.0: lib/Polysemy/Http/Effect/Manager.hs

{-# options_haddock prune #-}
-- |Description: Manager Effect, Internal
module Polysemy.Http.Effect.Manager where

import qualified Network.HTTP.Client as HTTP (Manager)

-- |This effect abstracts the creation of a 'Manager' in order to allow pool sharing in a flexible way.
data Manager :: Effect where
  Get :: Manager m HTTP.Manager

makeSem ''Manager