Module

Signal.Channel

Package
purescript-signal
Repository
bodil/purescript-signal

#channel Source

channel :: forall a. a -> Effect (Channel a)

Creates a channel, which allows you to feed arbitrary values into a signal.

#send Source

send :: forall a. Channel a -> a -> Effect Unit

Sends a value to a given channel.

#subscribe Source

subscribe :: forall a. Channel a -> Signal a

Takes a channel and returns a signal of the values sent to it.

#Channel Source

data Channel :: Type -> Type