hugoWebsite/node_modules/rxjs/dist/esm/internal/operators/startWith.js
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉
2022-10-28 17:20:35 -05:00

10 lines
No EOL
411 B
JavaScript

import { concat } from '../observable/concat';
import { popScheduler } from '../util/args';
import { operate } from '../util/lift';
export function startWith(...values) {
const scheduler = popScheduler(values);
return operate((source, subscriber) => {
(scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);
});
}
//# sourceMappingURL=startWith.js.map