Module

SimpleEmitter

#Emitter

newtype Emitter k

#createEmitter

createEmitter :: forall k. Effect (Emitter k)

#subscribe

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

#unsubscribe

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

#emit

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

Modules