| Safe Haskell | Safe |
|---|
Signal.Event
- data Event v
- = NextEvent v
- | ErrorEvent IOException
- | CompletedEvent
Documentation
Represents an event that a signal might send.
Signals may send any number of NextEvents, followed by one ErrorEvent or CompletedEvent.
Constructors
| NextEvent v | A value |
| ErrorEvent IOException | Sent when an error or exception occurs in the signal. Outside of the monad. |
| CompletedEvent | Sent when the signal completes successfully. Outside of the monad. |