填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

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>