Module

Wire.Signal

Package
purescript-wire
Repository
robertdp/purescript-wire

#Signal Source

#create Source

create :: forall a. a -> Effect { modify :: (a -> a) -> Effect Unit, signal :: Signal a }

#subscribe Source

subscribe :: forall a b. Signal a -> (a -> Effect b) -> Effect (Effect Unit)

#distinct Source

distinct :: forall a. Eq a => Signal a -> Signal a

#share Source

share :: forall a. Signal a -> Effect (Signal a)