Example on how to throttle?

I have a “remove from cart” button that’s displayed on a v-for generated list of items.

Currently @click I run a named action with the following:

{
            "action": "runUtilityHook",
            "function": "// Mutate $$BF_Model here to remove item",
            "options": {
                "type": "saveCart"
            }
}

Since I call a utility action here to store the cart contents on the filemaker side after update. I’d like to add a three second throttle so if users click a number of different items within say 3 seconds, it is throttled so only one saveCart utility hook is fired.

Is there an example for using the existing throttle action for this? throttle - FM BetterForms

You can use a throttle Ora de bounce action for this. We have examples as well.

The debounce example (form FR_DB6A79FF-EC0C-9545-9604-6225453E871C ) has what I think I want, the button that says “click me lots then stop…”, however, when previewing the form, it doesn’t actually run the sayThanks named action.

Not sure if it’s just me or not working.

This example works for me, please test in this link:
https://examplesdev.fmbetterforms.com/#/form/FR_DB6A79FF-EC0C-9545-9604-6225453E871C