Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Callback = Callback {
- _executable :: FilePath
- _arguments :: [Text]
- data Message = Message Feed FeedElement
Documentation
External program run for each feed element.
A Message
is passed to this program through stdin, serialized in JSON.
Callback | |
|
Instances
Eq Callback Source # | |
Ord Callback Source # | |
Defined in Imm.Callback | |
Read Callback Source # | |
Show Callback Source # | |
Generic Callback Source # | |
FromDhall Callback Source # | |
Defined in Imm.Callback autoWith :: InputNormalizer -> Decoder Callback # | |
Pretty Callback Source # | |
Defined in Imm.Callback | |
type Rep Callback Source # | |
Defined in Imm.Callback type Rep Callback = D1 (MetaData "Callback" "Imm.Callback" "imm-1.9.0.0-L4OvFhB9TDf8pWR6V9zgfv" False) (C1 (MetaCons "Callback" PrefixI True) (S1 (MetaSel (Just "_executable") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath) :*: S1 (MetaSel (Just "_arguments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text]))) |
All information passed to external programs about a new feed item, are stored in this structure.
Instances
Eq Message Source # | |
Ord Message Source # | |
Show Message Source # | |
Generic Message Source # | |
MessagePack Message Source # | |
Defined in Imm.Callback | |
type Rep Message Source # | |
Defined in Imm.Callback type Rep Message = D1 (MetaData "Message" "Imm.Callback" "imm-1.9.0.0-L4OvFhB9TDf8pWR6V9zgfv" False) (C1 (MetaCons "Message" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Feed) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FeedElement))) |