glazier-pipes-0.1.5.0: 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.