Safe Haskell | Safe |
---|
- data Event v
- = NextEvent v
- | ErrorEvent IOException
- | CompletedEvent
Documentation
Represents an event that a signal might send.
Signals may send any number of NextEvent
s, followed by one ErrorEvent
or CompletedEvent
.
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. |