Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.ApplicationState
Documentation
data ApplicationState Source #
The state of a running Haskell application
or an running Async
action
Constructors
Running | Application (action) is running |
Finished String | Result of the async action |
Error String | Description of the error (exception) |
Instances
stateOf :: Show a => Async a -> IO ApplicationState Source #
Yields the ApplicationState
of an Async