haskell-halogen-core
Safe HaskellNone
LanguageGHC2021

Halogen.Component.Debounced

Description

Component capable of debouncing actions

Documentation

unsafeMkDebouncedComponent :: forall state (query :: Type -> Type) action (slots :: Row Type) input output (m :: Type -> Type). NominalDiffTime -> ComponentSpec' state query action slots input output m (DelayedStateT state (HalogenM state action slots output m)) -> Component query input output m Source #

mkDebouncedComponent' :: forall state (query :: Type -> Type) action (slots :: Row Type) input output (m :: Type -> Type). Delayer state -> ComponentSpec' state query action slots input output m (DelayedStateT state (HalogenM state action slots output m)) -> Component query input output m Source #