diff options
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/operators/startWith.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm/internal/operators/startWith.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/operators/startWith.js b/node_modules/rxjs/dist/esm/internal/operators/startWith.js new file mode 100644 index 0000000..7a3887e --- /dev/null +++ b/node_modules/rxjs/dist/esm/internal/operators/startWith.js @@ -0,0 +1,10 @@ +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
\ No newline at end of file |
