| Stability | experimental |
|---|---|
| Maintainer | David Sorokin <david.sorokin@gmail.com> |
| Safe Haskell | Safe-Inferred |
Simulation.Aivika.Cont
Description
- data ContCancellation
- data Cont a
Documentation
data ContCancellation Source
It defines how the parent and child computations should be cancelled.
Constructors
| CancelTogether | Cancel the both computations together. |
| CancelChildAfterParent | Cancel the child if its parent is cancelled. |
| CancelParentAfterChild | Cancel the parent if its child is cancelled. |
| CancelInIsolation | Cancel the computations in isolation. |
The Cont type is similar to the standard Cont monad
and F# async workflow but only the result of applying
the continuations return the Event computation.
Instances
| Monad Cont | |
| Functor Cont | |
| Applicative Cont | |
| MonadIO Cont | |
| ParameterLift Cont | |
| SimulationLift Cont | |
| DynamicsLift Cont | |
| EventLift Cont |