new Rotations(cacheNamespace, routesConfig, rotationConfig, rotationConditions, publicPath)
Parameters:
| Name | Type | Default | Description | 
|---|---|---|---|
cacheNamespace | 
            
            String | ||
routesConfig | 
            
            Object | ||
rotationConfig | 
            
            Object | ||
rotationConditions | 
            
            Object | ||
publicPath | 
            
            Object | / | 
- Source:
 
Methods
- 
    
<async> getRoutes(mainRoutes)
 - 
    
    
    
    
    
        
Parameters:
Name Type Default Description mainRoutesString routes - Source:
 
Returns:
resolves to a route configuration Array of route objects- Type
 - Promise