Copyright | (c) Eric Mertens, 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
This module is responsible for dispatching user-input, network, and timer events to the correct module. It renders the user interface once per event.
- eventLoop :: ClientState -> IO ()
Documentation
eventLoop :: ClientState -> IO () Source #
Apply this function to an initial ClientState
to launch the client.