Module

Halogen.Aff.Driver.Eval

Package
purescript-halogen
Repository
slamdata/purescript-halogen

#handleLifecycle Source

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

#Renderer Source

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

#eval Source

eval :: forall h r eff s'' f z g'' p'' i o a. 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 a eff. (a -> Aff (HalogenEffects eff) Unit) -> Ref (Maybe (List (Aff (HalogenEffects eff) Unit))) -> a -> Aff (HalogenEffects eff) Unit