Extj 4 控制器 this.control 听众反跳?

Extj 4 controller this.control listeners debounce?

如何使用

去抖动控制器内部指定的侦听器
this.control

?

使用文档中的示例,您可以在

中使用 Ext.Function.defer()
Ext.define('AM.controller.Users', {
     init: function() {
         this.control({
             'useredit button[action=save]': {
                 click: function() {
                    //delay function call for a couple of seconds
                    Ext.Function.defer(this.updateUser, 2000, this);
                }
             }
         });
     },

     updateUser: function(button) {
         console.log('clicked the Save button');
     }
 });
Ext.define('AM.controller.Users', {
     init: function() {
         this.control({
             'useredit button[action=save]': {
                 click: {
                       buffer:2000,
                       fn:this.updateUser
                 }
                }
             }
         });
     },

     updateUser: function(button) {
         console.log('clicked the Save button');
     }
 });