node/rxjs/dist/esm/internal/operators/startWith.js
raw| 1 | import { concat } from '../observable/concat'; |
| 2 | import { popScheduler } from '../util/args'; |
| 3 | import { operate } from '../util/lift'; |
| 4 | export function startWith(...values) { |
| 5 | const scheduler = popScheduler(values); |
| 6 | return operate((source, subscriber) => { |
| 7 | (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber); |
| 8 | }); |
| 9 | } |
| 10 | //# sourceMappingURL=startWith.js.map |