jsaddle-warp-0.9.9.0: Interface for JavaScript that works with GHCJS and GHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Javascript.JSaddle.Warp

Synopsis

Running JSM over WebSockets

run :: Int -> JSM () -> IO () Source #

Run the given JSM action as the main entry point. Either directly in GHCJS or as a Warp server on the given port on GHC.