Created
          September 9, 2019 18:41 
        
      - 
      
- 
        Save vlio20/06f9fea72e231c27e2290139b5325d36 to your computer and use it in GitHub Desktop. 
    throttle
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | class MapView { | |
| @throttle(1000); | |
| logEvent(evwnts: AppEvent): void { | |
| // some code | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment