Module
Halogen.Aff.Driver.State   
- Package
- purescript-halogen
- Repository
- slamdata/purescript-halogen
#DriverState Source
newtype DriverState h r s f z g p i oThe type used to track a driver's persistent state.
- his the type of value the components produce for rendering.
- ris the type for the render state for the driver.
- sis the component state type.
- fis the projected component query algebra - used for multi-child-type components, by projecting to- zwe can avoid the need to remap the entire component.
- zis the unprojected component query algebra.
- gis the component child query algebra.
- pis the type of slots for the component.
- iis the invput value type.
- ois the type of output messages from the component.
- effis theect row for the target- Aff
Constructors
- DriverState (DriverStateRec h r s f z g p i o)
#DriverStateRec Source
type DriverStateRec h r s f z g p i o = { children :: Map (OrdBox p) (Ref (DriverStateX h r g)), childrenIn :: Ref (Map (OrdBox p) (Ref (DriverStateX h r g))), childrenOut :: Ref (Map (OrdBox p) (Ref (DriverStateX h r g))), component :: Component' h s z g p i o Aff, fresh :: Ref Int, handler :: o -> Aff Unit, lifecycleHandlers :: Ref LifecycleHandlers, pendingHandlers :: Ref (Maybe (List (Aff Unit))), pendingOuts :: Ref (Maybe (List (Aff Unit))), pendingQueries :: Ref (Maybe (List (Aff Unit))), prjQuery :: forall x. f x -> Maybe (z x), refs :: Map String Element, rendering :: Maybe (r s z g p o), selfRef :: Ref (DriverState h r s f z g p i o), state :: s, subscriptions :: Ref (Maybe (Map Int (Aff Unit))) }#unDriverStateX Source
unDriverStateX :: forall x f r h. (forall o i p g z s. DriverStateRec h r s f z g p i o -> x) -> DriverStateX h r f -> x#mkDriverStateXRef Source
mkDriverStateXRef :: forall o i p g z f s r h. Ref (DriverState h r s f z g p i o) -> Ref (DriverStateX h r f)#renderStateX Source
renderStateX :: forall f r h m. Functor m => (forall o p g s z. Maybe (r s z g p o) -> m (r s z g p o)) -> DriverStateX h r f -> m (RenderStateX r)#renderStateX_ Source
renderStateX_ :: forall f r h m. Applicative m => (forall o p g s z. r s z g p o -> m Unit) -> DriverStateX h r f -> m Unit#unRenderStateX Source
unRenderStateX :: forall x r. (forall o p g s z. r s z g p o -> x) -> RenderStateX r -> x#initDriverState Source
initDriverState :: forall o i p g z f s r h. Component' h s z g p i o Aff -> i -> (o -> Aff Unit) -> (forall x. f x -> Maybe (z x)) -> Ref LifecycleHandlers -> Effect (Ref (DriverStateX h r f))- Modules
- Halogen
- Halogen.Aff 
- Halogen.Aff. Driver 
- Halogen.Aff. Driver. Eval 
- Halogen.Aff. Driver. State 
- Halogen.Aff. Util 
- Halogen.Component 
- Halogen.Component. ChildPath 
- Halogen.Component. Profunctor 
- Halogen.Data. OrdBox 
- Halogen.Data. Prism 
- Halogen.HTML 
- Halogen.HTML. Core 
- Halogen.HTML. Elements 
- Halogen.HTML. Elements. Keyed 
- Halogen.HTML. Events 
- Halogen.HTML. Properties 
- Halogen.HTML. Properties. ARIA 
- Halogen.Query 
- Halogen.Query. EventSource 
- Halogen.Query. ForkF 
- Halogen.Query. HalogenM 
- Halogen.Query. InputF 
- Halogen.VDom. Driver