Maintainer | Ertugrul Soeylemez <es@ertes.de> |
---|
Access the rest of the universe.
- execute :: MonadControlIO m => Wire m (m a) a
- executeEvery :: forall a m. MonadControlIO m => Wire m (Time, m a) a
- executeOnce :: MonadControlIO m => Wire m (m a) a
IO Actions
execute :: MonadControlIO m => Wire m (m 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 m. MonadControlIO m => Wire m (Time, m a) aSource
Executes the IO action in the right input signal periodically keeping its most recent result value.
executeOnce :: MonadControlIO m => Wire m (m a) aSource
Executes the IO action in the input signal and inhibits, until it succeeds without an exception. Keeps the result forever.