-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
For example, with relevant and distinct use cases (but stubbed out for clarity, as sortableList
does), something like:
do
eQuery_Delayed <- delay 2 (updated dQuery)
dResults <- holdDyn [] (eQuery_Delayed <&> (_searchQuery . _parseQuery))
…
do
eRequest_Throttled <- throttle 1 eRequest
eResponse <- performEventAsync $
eRequest_Throttled <&> (\request handle -> liftIO $ do
response <- _send request
handle response)
…
do
eEdits_Batched <- batchOccurrences 5 eEdit
eResult <- performEvent $
eEdits_Batched <&> (\edits ->
_commit (toList edits))
…
do
e_Debounced <- debounce 0.001 e
-- within a millsecond.
…
https://hackage.haskell.org/package/reflex-0.9.3.1/docs/Reflex-Time.html
Metadata
Metadata
Assignees
Labels
No labels