io-reactive-0.1.1: An API for generating TIMBER style reactive objects.

PortabilityGHC
Stabilityunstable
MaintainerAndy Gill <andygill@ku.edu>

Control.Concurrent.Reactive

Description

An API for generating reactive objects, as used in the TIMBER programming language.

Documentation

type Action s = s -> IO sSource

type Request s a = s -> IO (s, a)Source

reactiveObjectIO :: state -> (ThreadId -> (forall r. Request state r -> IO r) -> (Action state -> IO ()) -> IO () -> object) -> IO objectSource