Module

Halogen.Aff.Driver.Eval

Package
purescript-halogen
Repository
purescript-halogen/purescript-halogen

#Renderer Source

type Renderer :: (Type -> Type -> Row Type -> Type -> Type) -> Typetype Renderer r = forall s f act ps i o. Ref LifecycleHandlers -> Ref (DriverState r s f act ps i o) -> Effect Unit

#evalF Source

evalF :: forall r s f act ps i o. Renderer r -> Ref (DriverState r s f act ps i o) -> Input act -> Aff Unit

#evalQ Source

evalQ :: forall r s f act ps i o a. Renderer r -> Ref (DriverState r s f act ps i o) -> f a -> Aff (Maybe a)

#evalM Source

evalM :: forall r s f act ps i o a. Renderer r -> Ref (DriverState r s f act ps i o) -> HalogenM s act ps o Aff a -> Aff a

#queueOrRun Source

#handleAff Source

handleAff :: forall a. Aff a -> Effect Unit