Module

Pha.Subscriptions

Package
purescript-pha
Repository
gbagan/purescript-pha

#Subscription Source

#Canceler Source

#makeSubscription Source

makeSubscription :: forall msg d. ((msg -> Effect Unit) -> d -> Effect Canceler) -> d -> Subscription msg

#on Source

on :: forall msg. String -> EventHandler msg -> Subscription msg

#onKeyDown Source

onKeyDown :: forall msg. (String -> Maybe msg) -> Subscription msg

#onHashChange Source

onHashChange :: forall msg. (HashChangeEvent -> Maybe msg) -> Subscription msg