UNPKG

rx-from-async-iterator

Version:
7 lines 255 B
import { Observable } from "rxjs"; import { asStream } from "./asStream"; export function fromAsyncIterator(g) { const _g = typeof g === "function" ? g : () => g; return new Observable(asStream(_g)); } //# sourceMappingURL=fromAsyncIterator.js.map