填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫Home

PreloadingStrategy

提供預載入策略。

Provides a preloading strategy.

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

Provided in

方法

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

Observable<any>