Every new change
This commit is contained in:
13
node_modules/rxjs/_esm2015/internal/operators/startWith.js
generated
vendored
Normal file
13
node_modules/rxjs/_esm2015/internal/operators/startWith.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
import { concat } from '../observable/concat';
|
||||
import { isScheduler } from '../util/isScheduler';
|
||||
export function startWith(...array) {
|
||||
const scheduler = array[array.length - 1];
|
||||
if (isScheduler(scheduler)) {
|
||||
array.pop();
|
||||
return (source) => concat(array, source, scheduler);
|
||||
}
|
||||
else {
|
||||
return (source) => concat(array, source);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=startWith.js.map
|
Reference in New Issue
Block a user