Module

Halogen.Aff.Driver.Eval

Package
purescript-halogen
Repository
slamdata/purescript-halogen

#handleLifecycle Source

handleLifecycle :: forall a eff. Ref (LifecycleHandlers eff) -> Eff (HalogenEffects eff) a -> Aff (HalogenEffects eff) a

#Renderer Source

type Renderer h r eff = forall o i p g z f s. Ref (LifecycleHandlers eff) -> Ref (DriverState h r s f z g p i o eff) -> Eff (HalogenEffects eff) Unit

#eval Source

eval :: forall a o i p'' g'' z f s'' eff r h. Renderer h r eff -> Ref (DriverState h r s'' f z g'' p'' i o eff) -> InputF a (z a) -> Aff (HalogenEffects eff) a

#queuingHandler Source

queuingHandler :: forall eff a. (a -> Aff (HalogenEffects eff) Unit) -> Ref (Maybe (List (Aff (HalogenEffects eff) Unit))) -> a -> Aff (HalogenEffects eff) Unit