redux-observable
Version:
RxJS based middleware for Redux. Compose and cancel async actions and more.
16 lines (14 loc) • 352 B
text/typescript
import type { Observable } from 'rxjs';
import type { StateObservable } from './StateObservable';
export declare interface Epic<
Input = unknown,
Output extends Input = Input,
State = void,
Dependencies = any
> {
(
action$: Observable<Input>,
state$: StateObservable<State>,
dependencies: Dependencies
): Observable<Output>;
}