reactive-bacon-0.4.1: FRP (functional reactive programming) framework

Safe HaskellSafe-Inferred

Reactive.Bacon.PushStream

Synopsis

Documentation

wrap :: EventSource s => s a -> IO (EventStream a)Source

Makes an observable with a single connection to the underlying EventSource. Automatically subscribes/unsubscribes from EventSource based on whether there are any EventSinks.