code: def progress(self, loaded, total, msg=''):
          
  
          self.fire('progress', {
              'loaded': loaded,
              'total': total,
              'msg': msg
          })
docs: Notify on a progress change