Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data QueueResult d
- = Success d
- | NotAvailable
- | Closed
Documentation
data QueueResult d Source #
Encodes failure reasons for queues.
For documentation on the constructors, see the module Polysemy.Conc.Data.QueueResult.
import qualified Polysemy.Conc.Data.QueueResult as QueueResult
Success d | The operation was successful. |
NotAvailable | The queue is either full and cannot be added to, or empty and cannot be read from. |
Closed | The queue was closed by the user. |