Module

Signal.Channel

#channel

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

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

#send

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

Sends a value to a given channel.

#subscribe

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

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

#Channel

data Channel :: Type -> Type

Modules