From c7e148be6444969d39716eec0feb237641698873 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 12 Apr 2020 16:03:30 -0700 Subject: Rename Quedata to Message --- Run/Que/Server.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Run/Que') 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 -- cgit v1.2.3