-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
92 lines (88 loc) · 1.72 KB
/
index.js
File metadata and controls
92 lines (88 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import addOperators from './addOperators';
import addCreators from './addCreators';
import catchError from './catchError';
import concat from './concat';
import debounce from './debounce';
import defer from './defer';
import delay from './delay';
import error from './error';
import filter from './filter';
import first from './first';
import flatMap from './flatMap';
import forEach from './forEach';
import fromEvent from './fromEvent';
import fromPromise from './fromPromise';
import interval from './interval';
import map from './map';
import merge from './merge';
import reduce from './reduce';
import scan from './scan';
import skip from './skip';
import skipLast from './skipLast';
import skipUntil from './skipUntil';
import startWith from './startWith';
import take from './take';
import takeLast from './takeLast';
import takeUntil from './takeUntil';
import throttle from './throttle';
import toArray from './toArray';
import transform from './transform';
const addAll = (target = Observable) => {
addCreators(target, [defer, error, fromEvent, fromPromise, interval]);
addOperators(target.prototype, [
catchError,
concat,
debounce,
delay,
filter,
first,
flatMap,
forEach,
map,
merge,
reduce,
scan,
skip,
skipLast,
skipUntil,
startWith,
take,
takeLast,
takeUntil,
throttle,
toArray,
transform,
]);
};
export {
addAll as default,
addAll,
addOperators,
catchError,
concat,
debounce,
defer,
delay,
error,
filter,
first,
flatMap,
forEach,
fromEvent,
fromPromise,
interval,
map,
merge,
reduce,
scan,
skip,
skipLast,
startWith,
take,
takeLast,
takeUntil,
throttle,
skipUntil,
toArray,
transform,
};