Module
FRP.Event.Time
- Package
- purescript-hyrule
- Repository
- mikesol/purescript-hyrule
#debounce Source
debounce :: forall a. Milliseconds -> Event a -> Event a
On each event, ignore subsequent events for a given number of milliseconds.
#debounceWith Source
debounceWith :: forall a b. (Event a -> Event { period :: Milliseconds, value :: b }) -> Event a -> Event b
Provided an input event and transformation, block the input event for the duration of the specified period on each output.