Module

Halogen.VDom.Driver

Package
purescript-halogen
Repository
slamdata/purescript-halogen

#runUI Source

runUI :: forall f i o. Component HTML f i o Aff -> i -> HTMLElement -> Aff (HalogenIO f o Aff)

Re-exports from Halogen.Aff.Driver

#HalogenIO Source

type HalogenIO f o m = { query :: f ~> m, subscribe :: Consumer o m Unit -> m Unit }

A record produced when the root component in a Halogen UI has been run. query allows external sources to query the root component and subscribe allows external consumers to receive messages raised by the root component.