Module

Axon.Runtime

Package
purescript-axon
Repository
cakekindel/purescript-axon

#Init Source

type Init :: (Type -> Type) -> Typetype Init m = { fetch :: Request -> m Response, hostname :: String, idleTimeout :: Seconds, port :: Int }

#Handle Source

type Handle :: (Type -> Type) -> Type -> Typetype Handle m a = { join :: Fiber Unit, server :: a, stop :: m Unit }

#Runtime Source

class Runtime a  where

Members