UNPKG

@lifaon/rx-js-light

Version:

Blazing fast Observables

7 lines (6 loc) 234 B
import {fromAsyncIterator} from "../from-async-iterator/from-async-iterator.mjs"; export function fromAsyncIterable(asyncIterable) { return emit => { return fromAsyncIterator(asyncIterable[Symbol.asyncIterator]())(emit); }; }