| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Network.Wai.Application.Devel
- type AppHolder = MVar (Application, MVar ())
- type AppRunner = Application -> IO ()
- type WithAppRunner = AppRunner -> IO ()
- initAppHolder :: IO AppHolder
- swapApp :: WithAppRunner -> AppHolder -> IO ()
- swapAppSimple :: Application -> AppHolder -> IO ()
- toApp :: AppHolder -> Application
Types
type AppHolder = MVar (Application, MVar ()) Source
type AppRunner = Application -> IO () Source
type WithAppRunner = AppRunner -> IO () Source
Functions
swapApp :: WithAppRunner -> AppHolder -> IO () Source
swapAppSimple :: Application -> AppHolder -> IO () Source
toApp :: AppHolder -> Application Source