summaryrefslogtreecommitdiff
path: root/Run
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-04-12 16:03:30 -0700
committerBen Sima <ben@bsima.me>2020-04-12 19:01:15 -0700
commitc7e148be6444969d39716eec0feb237641698873 (patch)
treeaa36c72660896243589fe1f755bff6acf9c74ceb /Run
parentea3039d585d1c7462084aa4822be230b411d15e9 (diff)
Rename Quedata to Message
Diffstat (limited to 'Run')
-rw-r--r--Run/Que/Server.hs4
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