PreloadingStrategy

Provides a preloading strategy.

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

方法

abstract preload(route: Route, fn: () => Observable<any>): Observable<any>
      
      abstract preload(route: Route, fn: () => Observable<any>): Observable<any>
    
参数
route Route
fn () => Observable
返回值

Observable<any>