Here is another way to structure the code with the part that is related to debouncing extracted into its own module: https://github.com/pdamoc/elm-assistance/tree/master/Debounce
As for debouncing at the language level, I think we might have the wiring for that already in Effect Managers. On Fri, Jul 8, 2016 at 5:02 PM, Charlie Koster <[email protected]> wrote: > Thanks for the replies. The custom Time Tick code is more understandable > and straightforward in my opinion so I'll use that in the future. > > I'm curious if there's an opportunity to build debouncing into the > language. That seems possible for subscriptions but I'm not so sure about > other actions that the update function receives. > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- There is NO FATE, we are the creators. blog: http://damoc.ro/ -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
