redux-saga-tools
Version:
A set of utility functions to write saga and reducers easily
5 lines (4 loc) • 329 B
TypeScript
import { Progress } from './progress-state';
export declare function selectProgress(state: any, action: string): Progress;
export declare function didProgressComplete(progressNow?: Progress, progressBefore?: Progress): boolean;
export declare function didProgressFail(progressNow?: Progress, progressBefore?: Progress): boolean;