reactive-haskell-0.0.1: minimal fork of io-reactive
Control.Concurrent.Reactive
Description
|
type Action s = s -> IO s Source
type Request s a = s -> IO (s, a) Source
reactiveObjectIO :: forall state object. state -> (ThreadId -> (forall r. Request state r -> IO r) -> (Action state -> IO ()) -> IO () -> object) -> IO object Source
type Sink a = a -> IO () Source
pauseIO :: (a -> Sink b -> IO ()) -> a -> IO b Source
reactiveIO :: (a -> IO b) -> a -> Sink b -> IO () Source