@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
17 lines (15 loc) • 338 B
JavaScript
import { IterableX } from './iterablex';
/** @nocollapse */
export function of(...args) {
return new OfIterable(args);
}
export class OfIterable extends IterableX {
constructor(args) {
super();
this._args = args;
}
*[Symbol.iterator]() {
yield* this._args;
}
}
//# sourceMappingURL=of.mjs.map