-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | a queue using MongoDB -- -- a queue using MongoDB @package mongodb-queue @version 0.2.1 module Database.MongoDB.Queue -- | emit a message for a worker emit :: QueueEmitter -> Document -> IO () -- | Get the next message from the queue. First marks the message as -- handled. -- -- Do not call this from multiple threads against the same QueueWorker nextFromQueue :: QueueWorker -> IO Document -- | create a QueueEmitter createEmitter :: DBRunner -> IO QueueEmitter -- | creates a QueueWorker Do not work multiple times against the -- same QueueWorker createWorker :: DBRunner -> IO QueueWorker instance Typeable MongoQueueException instance Show MongoQueueException instance Exception MongoQueueException