import { Action } from 'redux';
import { ActionsObservable, Epic, StateObservable } from 'redux-observable';
import { Subscriber } from 'rxjs';
export interface IEpicManager {
/**
* Boots the manager.
*/
connect(): void;
/**
* Emits the given error to the output stream.
*/
error(err: Error): void;
/**
* Unsubscribes from all source epics.
*/
close(): void;
/**
* Indicates a fault happened on the given epic index. Should disconnect it.
*/
fault(index: number): void;
/**
* Restarts a previously faulted epic.
*/
restart(index: number): void;
}
/**
* Options passed to IEpicFactory instance.
*/
export interface IFactoryOptions {
subscriber: Subscriber