Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
runUi :: MonadIO io => Int -> (s -> IO ()) -> Producer s io s -> io s Source #
This is similar to part of the Elm startApp. This is responsible for running the Glazier Gadget update tick until it quits. This is also responsible for rendering the frame. This function is only required if you are not using another application framework which already takes care of rendering and processing user input.