@lifaon/rx-js-light
Version:
Blazing fast Observables
7 lines (6 loc) • 538 B
TypeScript
import { IObservable } from '../../../../../../type/observable.type';
import { IFromReadableStreamReaderObservableNotifications } from './from-readable-stream-reader-observable-notifications.type';
/**
* WARN use with caution: it's possible that you subscribe twice to the same ReadableStreamReader, in this case the emitted values probably won't be what you expect
*/
export declare function fromReadableStreamReader<GValue>(reader: ReadableStreamReader<GValue>): IObservable<IFromReadableStreamReaderObservableNotifications<GValue>>;