UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

21 lines (20 loc) 1.18 kB
import { Observable } from 'rxjs'; import { ActionsObservable, Epic } from 'redux-observable'; import { Store } from 'redux'; import { AppState } from '../../common/reducers'; export declare const pollCourierLocations: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>; /** * Note we need to wait till the couriers hve been loaded * before we can get their locations. * Once we are getting the courierstatus updates through pusher * we can probably just chain these calls together without * checking to see if this is the first time * * @param action$ * @param store */ export declare const loadCourierLocationsAtStartUp: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>; export declare const reloadCourierLocationsEpic: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>; export declare const handleHealthcheckTimeout: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>; export declare const handleHealthcheckError: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>; export declare const courierLocationEpics: Epic<any, AppState, any>;