Module
Halogen.Aff.Driver.State
- Package
- purescript-halogen
- Repository
- purescript-halogen/purescript-halogen
#DriverState Source
newtype DriverState :: (Type -> Type -> Row Type -> Type -> Type) -> Type -> (Type -> Type) -> Type -> Row Type -> Type -> Type -> Type
newtype DriverState r s f act ps i o
Constructors
DriverState (DriverStateRec r s f act ps i o)
#mapDriverState Source
mapDriverState :: forall r s f act ps i o. (DriverStateRec r s f act ps i o -> DriverStateRec r s f act ps i o) -> DriverState r s f act ps i o -> DriverState r s f act ps i o
#DriverStateRef Source
newtype DriverStateRef :: (Type -> Type -> Row Type -> Type -> Type) -> (Type -> Type) -> Type -> Type
newtype DriverStateRef r f o
Constructors
DriverStateRef (Ref (DriverStateX r f o))
#DriverStateRec Source
type DriverStateRec :: (Type -> Type -> Row Type -> Type -> Type) -> Type -> (Type -> Type) -> Type -> Row Type -> Type -> Type -> Type
type DriverStateRec r s f act ps i o = { children :: SlotStorage ps (DriverStateRef r), childrenIn :: Ref (SlotStorage ps (DriverStateRef r)), childrenOut :: Ref (SlotStorage ps (DriverStateRef r)), component :: ComponentSpec s f act ps i o Aff, forks :: Ref (Map ForkId (Fiber Unit)), fresh :: Ref Int, handlerRef :: Ref (o -> Aff Unit), lifecycleHandlers :: Ref LifecycleHandlers, pendingHandlers :: Ref (Maybe (List (Aff Unit))), pendingOuts :: Ref (Maybe (List (Aff Unit))), pendingQueries :: Ref (Maybe (List (Aff Unit))), refs :: Map String Element, rendering :: Maybe (r s act ps o), selfRef :: Ref (DriverState r s f act ps i o), state :: s, subscriptions :: Ref (Maybe (Map SubscriptionId Subscription)) }
#unDriverStateX Source
unDriverStateX :: forall r f i o x. (forall s act ps. DriverStateRec r s f act ps i o -> x) -> DriverStateX r f o -> x
#mkDriverStateXRef Source
mkDriverStateXRef :: forall r s f act ps i o. Ref (DriverState r s f act ps i o) -> Ref (DriverStateX r f o)
#renderStateX Source
renderStateX :: forall m r f o. Functor m => (forall s act ps. Maybe (r s act ps o) -> m (r s act ps o)) -> DriverStateX r f o -> m (RenderStateX r)
#renderStateX_ Source
renderStateX_ :: forall m r f o. Applicative m => (forall s act ps. r s act ps o -> m Unit) -> DriverStateX r f o -> m Unit
#unRenderStateX Source
unRenderStateX :: forall r x. (forall s f ps o. r s f ps o -> x) -> RenderStateX r -> x
#initDriverState Source
initDriverState :: forall r s f act ps i o. ComponentSpec s f act ps i o Aff -> i -> (o -> Aff Unit) -> Ref LifecycleHandlers -> Effect (Ref (DriverStateX r f o))
- Modules
- Halogen
- Halogen.
Aff - Halogen.
Aff. Driver - Halogen.
Aff. Driver. Eval - Halogen.
Aff. Driver. State - Halogen.
Aff. Util - Halogen.
Component - Halogen.
Component. Profunctor - Halogen.
Data. OrdBox - Halogen.
Data. Slot - 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. ChildQuery - Halogen.
Query. Event - Halogen.
Query. HalogenM - Halogen.
Query. HalogenQ - Halogen.
Query. Input - Halogen.
VDom. Driver