@@ -1,12 +1,12 @@
11{-# LANGUAGE CPP #-}
22
33module Network.Wai.Handler.Warp.HTTP2.Manager (
4− start
5− , stop
6− , spawn
7− , replace
4+ Manager
5+ , start
86 , setAction
9− , Manager
7+ , stop
8+ , spawnAction
9+ , replaceWithAction
1010 ) where
1111
1212#if __GLASGOW_HASKELL__ < 709
@@ -57,11 +57,11 @@ setAction (Manager _ ref) action = writeIORef ref action
5757stop :: Manager -> IO ()
5858stop (Manager q _) = atomically $ writeTQueue q Stop
5959
60−spawn :: Manager -> IO ()
61−spawn (Manager q _) = atomically $ writeTQueue q Spawn
60+spawnAction :: Manager -> IO ()
61+spawnAction (Manager q _) = atomically $ writeTQueue q Spawn
6262
63−replace :: Manager -> ThreadId -> IO ()
64−replace (Manager q _) tid = atomically $ writeTQueue q $ Replace tid
63+replaceWithAction :: Manager -> ThreadId -> IO ()
64+replaceWithAction (Manager q _) tid = atomically $ writeTQueue q $ Replace tid
6565
6666----------------------------------------------------------------
6767