unleash-client
Version:
Unleash Client for Node
14 lines • 519 B
TypeScript
import { EventEmitter } from 'events';
import { FetcherInterface, StreamingFetchingOptions } from './fetcher';
export declare class StreamingFetcher extends EventEmitter implements FetcherInterface {
private eventSource;
private options;
constructor(options: StreamingFetchingOptions);
private setupEventSource;
private handleFlagsFromStream;
private handleModeChange;
private createEventSource;
start(): Promise<void>;
stop(): void;
}
//# sourceMappingURL=streaming-fetcher.d.ts.map