Help Angular by taking a 1 minute survey!Go to surveyHome

PreloadingStrategy

Provides a preloading strategy.

      
      abstract class PreloadingStrategy {
  abstract preload(route: Route, fn: () => Observable<any>): Observable<any>
}
    

Methods

abstract preload(route: Route, fn: () => Observable<any>): Observable<any>
      
      abstract preload(route: Route, fn: () => Observable<any>): Observable<any>
    
Parameters
route Route
fn () => Observable
Returns

Observable<any>