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>

参数

route

Type: Route.

fn

Type: () => Observable.

返回值

Observable<any>