Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Documentation
class BackendQueue q where Source
readQueue :: q -> IO (Maybe (ByteString, String)) Source
peekQueue :: q -> IO (Maybe (ByteString, String, String, Int)) Source
updateQueue :: q -> String -> ByteString -> Int -> IO Bool Source
deleteQueue :: q -> String -> IO Bool Source
writeQueue :: q -> ByteString -> Int -> IO String Source
listQueue :: q -> IO [ByteString] Source
itemsQueue :: q -> IO [String] Source
countQueue :: q -> IO Int Source
closeQueue :: q -> IO () Source