Module

Halogen.VDom.Machine

Package
purescript-halogen-vdom
Repository
slamdata/purescript-halogen-vdom

#Machine Source

type Machine a b = EffectFn1 a (Step a b)

#Step Source

data Step a b

Constructors

#extract Source

extract :: forall b a. Step a b -> b

Returns the output value of a Step.

#step Source

step :: forall b a. Step a b -> EffectFn1 a (Step a b)

Runs the next step.

#halt Source

halt :: forall b a. Step a b -> Effect Unit

Runs the finalizer associated with a Step