Module

SimpleBus

Package
erl-simplebus
Repository
id3as/purescript-erl-simplebus

#Bus Source

newtype Bus :: forall k. Type -> k -> Typenewtype Bus name msg

#SubscriptionRef Source

#subscribe Source

subscribe :: forall m name msg msgOut. HasSelf m msgOut => MonadEffect m => Bus name msg -> (msg -> msgOut) -> m SubscriptionRef

#raise Source

raise :: forall name msg. Bus name msg -> msg -> Effect Unit

#bus Source

bus :: forall msg name. name -> Bus name msg
Modules
SimpleBus