UNPKG

@reactivex/ix-es5-esm

Version:

The Interactive Extensions for JavaScript

10 lines (9 loc) 472 B
import { Observable } from '../observer.js'; /** * Converts the async-iterable sequence to an observable. * * @template TSource The type of the elements in the source sequence. * @param {AsyncIterable<TSource>} source The async-iterable to convert to an observable. * @returns {Observable<TSource>} The observable containing the elements from the async-iterable. */ export declare function toObservable<TSource>(source: AsyncIterable<TSource>): Observable<TSource>;