Safe Haskell | Safe-Inferred |
---|
- fromStoppableProcess :: ((Event a -> IO ()) -> IO Bool -> IO ()) -> IO (EventStream a, IO ())
- fromNonStoppableProcess :: ((Event a -> IO ()) -> IO ()) -> IO (EventStream a)
- fromIO :: IO a -> IO (EventStream a)
Documentation
fromStoppableProcess :: ((Event a -> IO ()) -> IO Bool -> IO ()) -> IO (EventStream a, IO ())Source
startProcess is a function whose params are event sink and stop sign
fromNonStoppableProcess :: ((Event a -> IO ()) -> IO ()) -> IO (EventStream a)Source
fromIO :: IO a -> IO (EventStream a)Source