glazier-pipes-0.1.5.1: A threaded rendering framework using glaizer and pipes

Safe HaskellSafe
LanguageHaskell2010

Glazier.Pipes.Ui

Synopsis

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.