Allow for hard quitting
This commit is contained in:
@@ -5,6 +5,9 @@ module Loop.Data where
|
||||
|
||||
data ConcurrentEffect world
|
||||
= NoConcurrentEffect
|
||||
| ImmediateEffect
|
||||
{ _immediateEffect :: IO (Maybe world)
|
||||
}
|
||||
| ConcurrentEffect
|
||||
{ _immediateUpdate :: world
|
||||
, _sideEffect :: IO (world -> Maybe world)
|
||||
|
||||
Reference in New Issue
Block a user