diff options
Diffstat (limited to 'Run/Que')
-rw-r--r-- | Run/Que/Server.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Run/Que/Server.hs b/Run/Que/Server.hs index f729795..1277376 100644 --- a/Run/Que/Server.hs +++ b/Run/Que/Server.hs @@ -215,9 +215,9 @@ modify :: (AppState -> AppState) -> App () modify f = ask >>= liftIO . atomically . flip STM.modifyTVar' f type Namespace = Text -- ^ housing for a set of que paths -type Que = Go.Channel Quedata -- ^ a que is just a channel of bytes +type Que = Go.Channel Message -- ^ a que is just a channel of bytes type Quepath = Text -- ^ any path can serve as an identifier for a que -type Quedata = ByteString -- ^ any opaque data +type Message = ByteString -- ^ any opaque data type Quebase = HashMap Quepath Que -- ^ a collection of ques -- | Lookup or create a que |