Module
Flame.Subscription.Internal.Listener
- Package
- purescript-flame
- Repository
- easafe/purescript-flame
#createMessageListener Source
createMessageListener :: forall message. ApplicationId -> (message -> Effect Unit) -> Effect Unit
Listener for external messages
Implemented as a custom event because messages can be raised from anywhere
#createSubscription Source
createSubscription :: forall message. (message -> Effect Unit) -> Subscription message -> Effect Unit
Events from Application.subscribe
- Modules
- Flame
- Flame.
Application. EffectList - Flame.
Application. Effectful - Flame.
Application. Internal. Dom - Flame.
Application. Internal. PreMount - Flame.
Application. NoEffects - Flame.
Html. Attribute - Flame.
Html. Attribute. Internal - Flame.
Html. Element - Flame.
Html. Event - Flame.
Internal. Equality - Flame.
Renderer. Internal. Dom - Flame.
Renderer. String - Flame.
Serialization - Flame.
Subscription - Flame.
Subscription. Document - Flame.
Subscription. Internal. Create - Flame.
Subscription. Internal. Listener - Flame.
Subscription. Unsafe. CustomEvent - Flame.
Subscription. Window - Flame.
Types