Module

Formless.Internal.Debounce

Package
purescript-halogen-formless
Repository
thomashoneyman/purescript-halogen-formless

#debounceForm Source

debounceForm :: forall form st act ps msg m a. MonadAff m => Milliseconds -> HalogenM form st act ps msg m (form Record FormField) -> HalogenM form st act ps msg m (form Record FormField) -> HalogenM form st act ps msg m a -> HalogenM form st act ps msg m Unit

A helper function to debounce actions on the form and form fields. Implemented to reduce type variables necessary in the State type