aboutsummaryrefslogtreecommitdiff
path: root/lib/Server/Base.hs
blob: 14b77cae4fa90801b733c56a2ffce3673dd84556 (plain)
1
2
3
4
5
6
7
8
9
module Server.Base (ServerState) where

import           Control.Concurrent.STM (TQueue, TVar)
import qualified Data.Map               as M
import           Data.UUID              (UUID)
import           Persist                (TrainPing)

type ServerState = TVar (M.Map UUID [TQueue (Maybe TrainPing)])