titan-1.0.2: src/Model/ReactiveModel.hs
-- | This module holds the reactive program model. It holds a program
-- model, but includes events that other threads can listen to, so
-- that a change in a part of the model is notified to other parts of
-- the program. The reactive model is not necessarily concurrent (it
-- doesn't have its own thread), although a facility is included to
-- make it also concurrent (so that event handlers can be called as
-- soon as they are present).
module Model.ReactiveModel
( ReactiveModel
-- * Construction
, emptyRM
-- * Access
, pendingEvents
, pendingHandlers
-- * Modification
, getPendingHandler
, onEvent
, module Exported
)
where
import Model.ReactiveModel.ReactiveModelInternals
import Hails.MVC.Model.ReactiveModel.Initialisation as Exported
import Model.ReactiveModel.ReactiveFields as Exported
import Model.ReactiveModel.ModelEvents as Exported