haskell-admin-health-1.0.0.0: Application Health Component for Haskell Admin
Safe HaskellNone
LanguageHaskell2010

Data.ApplicationState

Synopsis

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

Instances details
Eq ApplicationState Source # 
Instance details

Defined in Data.ApplicationState

Read ApplicationState Source # 
Instance details

Defined in Data.ApplicationState

Show ApplicationState Source # 
Instance details

Defined in Data.ApplicationState

Generic ApplicationState Source # 
Instance details

Defined in Data.ApplicationState

Associated Types

type Rep ApplicationState :: Type -> Type #

ToJSON ApplicationState Source # 
Instance details

Defined in Data.ApplicationState

FromJSON ApplicationState Source # 
Instance details

Defined in Data.ApplicationState

type Rep ApplicationState Source # 
Instance details

Defined in Data.ApplicationState

type Rep ApplicationState = D1 ('MetaData "ApplicationState" "Data.ApplicationState" "haskell-admin-health-1.0.0.0-inplace" 'False) (C1 ('MetaCons "Running" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Finished" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "Error" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))