This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Web.Scotty.Async | |
where | |
import Control.Concurrent (ThreadId, forkIO, newEmptyMVar, putMVar, takeMVar) | |
import Control.Concurrent.Async (async, Async(..)) | |
import Data.Default (def) | |
import Network.Wai.Handler.Warp (Port, defaultSettings, setBeforeMainLoop, | |
setPort) | |
import Web.Scotty (Options(..), ScottyM, scottyOpts) |