Maintainer | Ertugrul Soeylemez <es@ertes.de> |
---|
Access the rest of the universe.
- execute :: Wire (IO a) a
- executeEvery :: forall a. Wire (DTime, IO a) a
- executeOnce :: Wire (IO a) a
IO Actions
execute :: Wire (IO a) aSource
Execute the IO action in the input signal at every instant.
Note: If the action throws an exception, then this wire inhibits the signal.
executeEvery :: forall a. Wire (DTime, IO a) aSource
Executes the IO action in the right input signal periodically keeping its most recent result value.
executeOnce :: Wire (IO a) aSource
Executes the IO action in the input signal and inhibits, until it succeeds without an exception. Keeps the result forever.