Sometimes for save buttons and the like you don't want triggers to fire too often to prevent unwanted 'double-clicks'.
The debounce
attributes allows to specify a period in milliseconds before
the actions can be triggered again.
Try clicking fast on the button. You'll notice that only one message is displayed within a 2000 milliseconds timespan.