Module

SimpleEmitter

Package
purescript-simple-emitter
Repository
oreshinya/purescript-simple-emitter

#Emitter Source

newtype Emitter k

#createEmitter Source

createEmitter :: forall k. Effect (Emitter k)

#subscribe Source

subscribe :: forall k. Ord k => k -> Effect Unit -> Emitter k -> Effect Unit

#unsubscribe Source

unsubscribe :: forall k. Ord k => k -> Emitter k -> Effect Unit

#emit Source

emit :: forall k. Ord k => k -> Emitter k -> Effect Unit
Modules
SimpleEmitter