mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 10:07:02 +00:00
ui: Add an Effect system to handle global state and Elm Cmds (#176)
All pages now leverage Effects for most of their Session and Cmd requests. More work required for routing and other lingering Cmd use.
This commit is contained in:
@@ -49,6 +49,8 @@ cancel previous =
|
||||
previous
|
||||
|
||||
|
||||
{-| Increments the timer identity, preventing integer overflow.
|
||||
-}
|
||||
next : Int -> Int
|
||||
next index =
|
||||
if index > 2 ^ 30 then
|
||||
|
||||
Reference in New Issue
Block a user