@fncts/observable 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +26 -0
- package/_cjs/Action.cjs +15 -16
- package/_cjs/Action.cjs.map +1 -1
- package/_cjs/AnimationFrameAction.cjs +30 -35
- package/_cjs/AnimationFrameAction.cjs.map +1 -1
- package/_cjs/AnimationFrameScheduler.cjs +30 -35
- package/_cjs/AnimationFrameScheduler.cjs.map +1 -1
- package/_cjs/AsyncAction.cjs +73 -93
- package/_cjs/AsyncAction.cjs.map +1 -1
- package/_cjs/AsyncScheduler.cjs +35 -41
- package/_cjs/AsyncScheduler.cjs.map +1 -1
- package/_cjs/BehaviorSubject.cjs +31 -38
- package/_cjs/BehaviorSubject.cjs.map +1 -1
- package/_cjs/Notification.cjs +65 -66
- package/_cjs/Notification.cjs.map +1 -1
- package/_cjs/Observable/api/connect.cjs +23 -25
- package/_cjs/Observable/api/connect.cjs.map +1 -1
- package/_cjs/Observable/api/connectable.cjs +46 -50
- package/_cjs/Observable/api/connectable.cjs.map +1 -1
- package/_cjs/Observable/api/fromCallback.cjs +44 -48
- package/_cjs/Observable/api/fromCallback.cjs.map +1 -1
- package/_cjs/Observable/api/fromEvent.cjs +15 -15
- package/_cjs/Observable/api/fromEvent.cjs.map +1 -1
- package/_cjs/Observable/api/index.cjs +32 -160
- package/_cjs/Observable/api/race.cjs +26 -30
- package/_cjs/Observable/api/race.cjs.map +1 -1
- package/_cjs/Observable/api/raceWith.cjs +14 -15
- package/_cjs/Observable/api/raceWith.cjs.map +1 -1
- package/_cjs/Observable/api/repeatWhen.cjs +54 -57
- package/_cjs/Observable/api/repeatWhen.cjs.map +1 -1
- package/_cjs/Observable/api/retryWhen.cjs +37 -41
- package/_cjs/Observable/api/retryWhen.cjs.map +1 -1
- package/_cjs/Observable/api/share.cjs +73 -83
- package/_cjs/Observable/api/share.cjs.map +1 -1
- package/_cjs/Observable/api/window.cjs +46 -43
- package/_cjs/Observable/api/window.cjs.map +1 -1
- package/_cjs/Observable/api/windowCount.cjs +45 -51
- package/_cjs/Observable/api/windowCount.cjs.map +1 -1
- package/_cjs/Observable/api/windowTime.cjs +73 -74
- package/_cjs/Observable/api/windowTime.cjs.map +1 -1
- package/_cjs/Observable/api/windowToggle.cjs +71 -74
- package/_cjs/Observable/api/windowToggle.cjs.map +1 -1
- package/_cjs/Observable/api/windowWhen.cjs +59 -55
- package/_cjs/Observable/api/windowWhen.cjs.map +1 -1
- package/_cjs/Observable/api.cjs +1858 -2034
- package/_cjs/Observable/api.cjs.map +1 -1
- package/_cjs/Observable/definition.cjs +107 -120
- package/_cjs/Observable/definition.cjs.map +1 -1
- package/_cjs/Observable/dom/animationFrames.cjs +30 -33
- package/_cjs/Observable/dom/animationFrames.cjs.map +1 -1
- package/_cjs/Observable/instances.cjs +0 -2
- package/_cjs/Observable.cjs +180 -215
- package/_cjs/ObservableRef/api.cjs +188 -189
- package/_cjs/ObservableRef/api.cjs.map +1 -1
- package/_cjs/ObservableRef/atomic.cjs +25 -25
- package/_cjs/ObservableRef/atomic.cjs.map +1 -1
- package/_cjs/ObservableRef/definition.cjs +32 -33
- package/_cjs/ObservableRef/definition.cjs.map +1 -1
- package/_cjs/ObservableRef.cjs +17 -39
- package/_cjs/Observer.cjs +0 -2
- package/_cjs/Operator.cjs +58 -62
- package/_cjs/Operator.cjs.map +1 -1
- package/_cjs/Scheduler.cjs +38 -37
- package/_cjs/Scheduler.cjs.map +1 -1
- package/_cjs/Subject.cjs +163 -201
- package/_cjs/Subject.cjs.map +1 -1
- package/_cjs/Subscriber.cjs +151 -170
- package/_cjs/Subscriber.cjs.map +1 -1
- package/_cjs/Subscription.cjs +98 -122
- package/_cjs/Subscription.cjs.map +1 -1
- package/_cjs/chunk.cjs +28 -0
- package/_cjs/config.cjs +11 -12
- package/_cjs/config.cjs.map +1 -1
- package/_cjs/global.cjs +0 -2
- package/_cjs/index.cjs +112 -36
- package/_cjs/internal/animationFrameProvider.cjs +32 -38
- package/_cjs/internal/animationFrameProvider.cjs.map +1 -1
- package/_cjs/internal/args.cjs +12 -12
- package/_cjs/internal/args.cjs.map +1 -1
- package/_cjs/internal/intervalProvider.cjs +15 -22
- package/_cjs/internal/intervalProvider.cjs.map +1 -1
- package/_cjs/internal/performanceTimestampProvider.cjs +10 -11
- package/_cjs/internal/performanceTimestampProvider.cjs.map +1 -1
- package/_cjs/internal/timeoutProvider.cjs +15 -22
- package/_cjs/internal/timeoutProvider.cjs.map +1 -1
- package/_cjs/internal/timestampProvider.cjs +10 -11
- package/_cjs/internal/timestampProvider.cjs.map +1 -1
- package/_cjs/internal/util.cjs +60 -68
- package/_cjs/internal/util.cjs.map +1 -1
- package/_mjs/Action.mjs +12 -8
- package/_mjs/Action.mjs.map +1 -1
- package/_mjs/AnimationFrameAction.mjs +25 -26
- package/_mjs/AnimationFrameAction.mjs.map +1 -1
- package/_mjs/AnimationFrameScheduler.mjs +25 -27
- package/_mjs/AnimationFrameScheduler.mjs.map +1 -1
- package/_mjs/AsyncAction.mjs +69 -84
- package/_mjs/AsyncAction.mjs.map +1 -1
- package/_mjs/AsyncScheduler.mjs +31 -33
- package/_mjs/AsyncScheduler.mjs.map +1 -1
- package/_mjs/BehaviorSubject.mjs +28 -30
- package/_mjs/BehaviorSubject.mjs.map +1 -1
- package/_mjs/Notification.mjs +57 -56
- package/_mjs/Notification.mjs.map +1 -1
- package/_mjs/Observable/api/connect.mjs +17 -17
- package/_mjs/Observable/api/connect.mjs.map +1 -1
- package/_mjs/Observable/api/connectable.mjs +39 -40
- package/_mjs/Observable/api/connectable.mjs.map +1 -1
- package/_mjs/Observable/api/fromCallback.mjs +40 -41
- package/_mjs/Observable/api/fromCallback.mjs.map +1 -1
- package/_mjs/Observable/api/fromEvent.mjs +12 -8
- package/_mjs/Observable/api/fromEvent.mjs.map +1 -1
- package/_mjs/Observable/api/index.mjs +15 -15
- package/_mjs/Observable/api/race.mjs +20 -22
- package/_mjs/Observable/api/race.mjs.map +1 -1
- package/_mjs/Observable/api/raceWith.mjs +11 -8
- package/_mjs/Observable/api/raceWith.mjs.map +1 -1
- package/_mjs/Observable/api/repeatWhen.mjs +48 -49
- package/_mjs/Observable/api/repeatWhen.mjs.map +1 -1
- package/_mjs/Observable/api/retryWhen.mjs +31 -33
- package/_mjs/Observable/api/retryWhen.mjs.map +1 -1
- package/_mjs/Observable/api/share.mjs +65 -74
- package/_mjs/Observable/api/share.mjs.map +1 -1
- package/_mjs/Observable/api/window.mjs +38 -34
- package/_mjs/Observable/api/window.mjs.map +1 -1
- package/_mjs/Observable/api/windowCount.mjs +39 -43
- package/_mjs/Observable/api/windowCount.mjs.map +1 -1
- package/_mjs/Observable/api/windowTime.mjs +63 -64
- package/_mjs/Observable/api/windowTime.mjs.map +1 -1
- package/_mjs/Observable/api/windowToggle.mjs +58 -62
- package/_mjs/Observable/api/windowToggle.mjs.map +1 -1
- package/_mjs/Observable/api/windowWhen.mjs +50 -46
- package/_mjs/Observable/api/windowWhen.mjs.map +1 -1
- package/_mjs/Observable/api.mjs +1822 -2031
- package/_mjs/Observable/api.mjs.map +1 -1
- package/_mjs/Observable/definition.mjs +94 -108
- package/_mjs/Observable/definition.mjs.map +1 -1
- package/_mjs/Observable/dom/animationFrames.mjs +23 -23
- package/_mjs/Observable/dom/animationFrames.mjs.map +1 -1
- package/_mjs/Observable/instances.mjs +0 -2
- package/_mjs/Observable.mjs +20 -25
- package/_mjs/ObservableRef/api.mjs +180 -177
- package/_mjs/ObservableRef/api.mjs.map +1 -1
- package/_mjs/ObservableRef/atomic.mjs +21 -17
- package/_mjs/ObservableRef/atomic.mjs.map +1 -1
- package/_mjs/ObservableRef/definition.mjs +29 -25
- package/_mjs/ObservableRef/definition.mjs.map +1 -1
- package/_mjs/ObservableRef.mjs +4 -5
- package/_mjs/Observer.mjs +0 -2
- package/_mjs/Operator.mjs +50 -51
- package/_mjs/Operator.mjs.map +1 -1
- package/_mjs/Scheduler.mjs +30 -26
- package/_mjs/Scheduler.mjs.map +1 -1
- package/_mjs/Subject.mjs +154 -190
- package/_mjs/Subject.mjs.map +1 -1
- package/_mjs/Subscriber.mjs +136 -156
- package/_mjs/Subscriber.mjs.map +1 -1
- package/_mjs/Subscription.mjs +90 -112
- package/_mjs/Subscription.mjs.map +1 -1
- package/_mjs/config.mjs +10 -6
- package/_mjs/config.mjs.map +1 -1
- package/_mjs/global.mjs +0 -2
- package/_mjs/index.mjs +14 -15
- package/_mjs/internal/animationFrameProvider.mjs +28 -30
- package/_mjs/internal/animationFrameProvider.mjs.map +1 -1
- package/_mjs/internal/args.mjs +9 -5
- package/_mjs/internal/args.mjs.map +1 -1
- package/_mjs/internal/intervalProvider.mjs +14 -16
- package/_mjs/internal/intervalProvider.mjs.map +1 -1
- package/_mjs/internal/performanceTimestampProvider.mjs +9 -5
- package/_mjs/internal/performanceTimestampProvider.mjs.map +1 -1
- package/_mjs/internal/timeoutProvider.mjs +14 -16
- package/_mjs/internal/timeoutProvider.mjs.map +1 -1
- package/_mjs/internal/timestampProvider.mjs +9 -5
- package/_mjs/internal/timestampProvider.mjs.map +1 -1
- package/_mjs/internal/util.mjs +54 -59
- package/_mjs/internal/util.mjs.map +1 -1
- package/_src/Observable/api.ts +1 -1
- package/package.json +6 -2
- package/_cjs/Observable/api/index.cjs.map +0 -1
- package/_cjs/Observable/instances.cjs.map +0 -1
- package/_cjs/Observable.cjs.map +0 -1
- package/_cjs/ObservableRef.cjs.map +0 -1
- package/_cjs/Observer.cjs.map +0 -1
- package/_cjs/global.cjs.map +0 -1
- package/_cjs/index.cjs.map +0 -1
- package/_mjs/Observable/api/index.mjs.map +0 -1
- package/_mjs/Observable/instances.mjs.map +0 -1
- package/_mjs/Observable.mjs.map +0 -1
- package/_mjs/ObservableRef.mjs.map +0 -1
- package/_mjs/Observer.mjs.map +0 -1
- package/_mjs/global.mjs.map +0 -1
- package/_mjs/index.mjs.map +0 -1
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import * as tsplus_module_1 from "@fncts/observable/Observable";
|
|
2
1
|
import { raceInit } from "./race.mjs";
|
|
2
|
+
import * as tsplus_module_1 from "@fncts/observable/Observable";
|
|
3
|
+
//#region build/esm/Observable/api/raceWith.js
|
|
3
4
|
/**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
5
|
+
* @tsplus pipeable fncts.observable.Observablen raceWith
|
|
6
|
+
*/
|
|
7
|
+
function raceWith(...sources) {
|
|
8
|
+
return (fa) => {
|
|
9
|
+
return !sources.length ? fa : new tsplus_module_1.Observable(raceInit([fa, ...sources]));
|
|
10
|
+
};
|
|
11
11
|
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { raceWith };
|
|
14
|
+
|
|
12
15
|
//# sourceMappingURL=raceWith.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raceWith.mjs","names":[
|
|
1
|
+
{"version":3,"file":"raceWith.mjs","names":[],"sources":["../../../esm/Observable/api/raceWith.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/observable/Observable\";\nimport { raceInit } from \"./race.js\";\n/**\n * @tsplus pipeable fncts.observable.Observablen raceWith\n */\nexport function raceWith(...sources) {\n return (fa) => {\n // @ts-expect-error\n return !sources.length ? fa : new tsplus_module_1.Observable(raceInit([fa, ...sources]));\n };\n}\n//# sourceMappingURL=raceWith.js.map"],"mappings":";;;;;;AAKA,SAAgB,SAAS,GAAG,SAAS;AACjC,SAAQ,OAAO;AAEX,SAAO,CAAC,QAAQ,SAAS,KAAK,IAAI,gBAAgB,WAAW,SAAS,CAAC,IAAI,GAAG,QAAQ,CAAC,CAAC"}
|
|
@@ -1,54 +1,53 @@
|
|
|
1
1
|
import * as tsplus_module_1 from "@fncts/observable/Observable";
|
|
2
|
-
import * as tsplus_module_2 from "@fncts/observable/Subject";
|
|
3
2
|
import * as tsplus_module_3 from "@fncts/observable/Operator";
|
|
3
|
+
import * as tsplus_module_2 from "@fncts/observable/Subject";
|
|
4
|
+
//#region build/esm/Observable/api/repeatWhen.js
|
|
4
5
|
/**
|
|
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
|
-
loop();
|
|
51
|
-
});
|
|
52
|
-
};
|
|
6
|
+
* @tsplus pipeable fncts.observable.Observable repeatWhen
|
|
7
|
+
*/
|
|
8
|
+
function repeatWhen(notifier) {
|
|
9
|
+
return (fa) => {
|
|
10
|
+
return new tsplus_module_1.Observable((subscriber, environment) => {
|
|
11
|
+
let innerSub;
|
|
12
|
+
let syncResub = false;
|
|
13
|
+
let completions$;
|
|
14
|
+
let isNotifierComplete = false;
|
|
15
|
+
let isMainComplete = false;
|
|
16
|
+
const checkComplete = () => isMainComplete && isNotifierComplete && (subscriber.complete(), true);
|
|
17
|
+
const getCompletionSubject = () => {
|
|
18
|
+
if (!completions$) {
|
|
19
|
+
completions$ = new tsplus_module_2.Subject();
|
|
20
|
+
notifier(completions$).provideEnvironment(environment).subscribe(tsplus_module_3.operatorSubscriber(subscriber, {
|
|
21
|
+
next: () => {
|
|
22
|
+
if (innerSub) loop();
|
|
23
|
+
else syncResub = true;
|
|
24
|
+
},
|
|
25
|
+
complete: () => {
|
|
26
|
+
isNotifierComplete = true;
|
|
27
|
+
checkComplete();
|
|
28
|
+
}
|
|
29
|
+
}));
|
|
30
|
+
}
|
|
31
|
+
return completions$;
|
|
32
|
+
};
|
|
33
|
+
const loop = () => {
|
|
34
|
+
isMainComplete = false;
|
|
35
|
+
innerSub = fa.provideEnvironment(environment).subscribe(tsplus_module_3.operate_({ complete: () => {
|
|
36
|
+
isMainComplete = true;
|
|
37
|
+
!checkComplete() && getCompletionSubject().next();
|
|
38
|
+
} })(subscriber));
|
|
39
|
+
if (syncResub) {
|
|
40
|
+
innerSub.unsubscribe();
|
|
41
|
+
innerSub = null;
|
|
42
|
+
syncResub = false;
|
|
43
|
+
loop();
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
loop();
|
|
47
|
+
});
|
|
48
|
+
};
|
|
53
49
|
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { repeatWhen };
|
|
52
|
+
|
|
54
53
|
//# sourceMappingURL=repeatWhen.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repeatWhen.mjs","names":["
|
|
1
|
+
{"version":3,"file":"repeatWhen.mjs","names":[],"sources":["../../../esm/Observable/api/repeatWhen.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/observable/Observable\";\nimport * as tsplus_module_2 from \"@fncts/observable/Subject\";\nimport * as tsplus_module_3 from \"@fncts/observable/Operator\";\n/**\n * @tsplus pipeable fncts.observable.Observable repeatWhen\n */\nexport function repeatWhen(notifier) {\n return (fa) => {\n return new tsplus_module_1.Observable((subscriber, environment) => {\n let innerSub;\n let syncResub = false;\n let completions$;\n let isNotifierComplete = false;\n let isMainComplete = false;\n const checkComplete = () => isMainComplete && isNotifierComplete && (subscriber.complete(), true);\n const getCompletionSubject = () => {\n if (!completions$) {\n completions$ = new tsplus_module_2.Subject();\n notifier(completions$)\n .provideEnvironment(environment)\n .subscribe(tsplus_module_3.operatorSubscriber(subscriber, {\n next: () => {\n if (innerSub) {\n loop();\n }\n else {\n syncResub = true;\n }\n },\n complete: () => {\n isNotifierComplete = true;\n checkComplete();\n },\n }));\n }\n return completions$;\n };\n const loop = () => {\n isMainComplete = false;\n innerSub = fa.provideEnvironment(environment).subscribe(tsplus_module_3.operate_({\n complete: () => {\n isMainComplete = true;\n !checkComplete() && getCompletionSubject().next();\n },\n })(subscriber));\n if (syncResub) {\n innerSub.unsubscribe();\n innerSub = null;\n syncResub = false;\n loop();\n }\n };\n loop();\n });\n };\n}\n//# sourceMappingURL=repeatWhen.js.map"],"mappings":";;;;;;;AAMA,SAAgB,WAAW,UAAU;AACjC,SAAQ,OAAO;AACX,SAAO,IAAI,gBAAgB,YAAY,YAAY,gBAAgB;GAC/D,IAAI;GACJ,IAAI,YAAY;GAChB,IAAI;GACJ,IAAI,qBAAqB;GACzB,IAAI,iBAAiB;GACrB,MAAM,sBAAsB,kBAAkB,uBAAuB,WAAW,UAAU,EAAE;GAC5F,MAAM,6BAA6B;AAC/B,QAAI,CAAC,cAAc;AACf,oBAAe,IAAI,gBAAgB,SAAS;AAC5C,cAAS,aAAa,CACjB,mBAAmB,YAAY,CAC/B,UAAU,gBAAgB,mBAAmB,YAAY;MAC1D,YAAY;AACR,WAAI,SACA,OAAM;WAGN,aAAY;;MAGpB,gBAAgB;AACZ,4BAAqB;AACrB,sBAAe;;MAEtB,CAAC,CAAC;;AAEP,WAAO;;GAEX,MAAM,aAAa;AACf,qBAAiB;AACjB,eAAW,GAAG,mBAAmB,YAAY,CAAC,UAAU,gBAAgB,SAAS,EAC7E,gBAAgB;AACZ,sBAAiB;AACjB,MAAC,eAAe,IAAI,sBAAsB,CAAC,MAAM;OAExD,CAAC,CAAC,WAAW,CAAC;AACf,QAAI,WAAW;AACX,cAAS,aAAa;AACtB,gBAAW;AACX,iBAAY;AACZ,WAAM;;;AAGd,SAAM;IACR"}
|
|
@@ -1,38 +1,36 @@
|
|
|
1
1
|
import * as tsplus_module_1 from "@fncts/observable/Observable";
|
|
2
|
-
import * as tsplus_module_2 from "@fncts/observable/Subject";
|
|
3
2
|
import * as tsplus_module_3 from "@fncts/observable/Operator";
|
|
3
|
+
import * as tsplus_module_2 from "@fncts/observable/Subject";
|
|
4
|
+
//#region build/esm/Observable/api/retryWhen.js
|
|
4
5
|
/**
|
|
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
|
-
loop();
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
loop();
|
|
35
|
-
});
|
|
36
|
-
};
|
|
6
|
+
* @tsplus pipeable fncts.observable.Observable retryWhen
|
|
7
|
+
*/
|
|
8
|
+
function retryWhen(notifier) {
|
|
9
|
+
return (fa) => {
|
|
10
|
+
return new tsplus_module_1.Observable((subscriber, environment) => {
|
|
11
|
+
let innerSub;
|
|
12
|
+
let syncResub = false;
|
|
13
|
+
let defects$;
|
|
14
|
+
const loop = () => {
|
|
15
|
+
innerSub = fa.provideEnvironment(environment).subscribe(tsplus_module_3.operate_({ error: (err) => {
|
|
16
|
+
if (!defects$) {
|
|
17
|
+
defects$ = new tsplus_module_2.Subject();
|
|
18
|
+
notifier(defects$).provideEnvironment(environment).subscribe(tsplus_module_3.operatorSubscriber(subscriber, { next: () => innerSub ? loop() : syncResub = true }));
|
|
19
|
+
}
|
|
20
|
+
if (defects$) defects$.next(err);
|
|
21
|
+
} })(subscriber));
|
|
22
|
+
if (syncResub) {
|
|
23
|
+
innerSub.unsubscribe();
|
|
24
|
+
innerSub = null;
|
|
25
|
+
syncResub = false;
|
|
26
|
+
loop();
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
loop();
|
|
30
|
+
});
|
|
31
|
+
};
|
|
37
32
|
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { retryWhen };
|
|
35
|
+
|
|
38
36
|
//# sourceMappingURL=retryWhen.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retryWhen.mjs","names":["
|
|
1
|
+
{"version":3,"file":"retryWhen.mjs","names":[],"sources":["../../../esm/Observable/api/retryWhen.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/observable/Observable\";\nimport * as tsplus_module_2 from \"@fncts/observable/Subject\";\nimport * as tsplus_module_3 from \"@fncts/observable/Operator\";\n/**\n * @tsplus pipeable fncts.observable.Observable retryWhen\n */\nexport function retryWhen(notifier) {\n return (fa) => {\n return new tsplus_module_1.Observable((subscriber, environment) => {\n let innerSub;\n let syncResub = false;\n let defects$;\n const loop = () => {\n innerSub = fa.provideEnvironment(environment).subscribe(tsplus_module_3.operate_({\n error: (err) => {\n if (!defects$) {\n defects$ = new tsplus_module_2.Subject();\n notifier(defects$)\n .provideEnvironment(environment)\n .subscribe(tsplus_module_3.operatorSubscriber(subscriber, {\n next: () => (innerSub ? loop() : (syncResub = true)),\n }));\n }\n if (defects$) {\n defects$.next(err);\n }\n },\n })(subscriber));\n if (syncResub) {\n innerSub.unsubscribe();\n innerSub = null;\n syncResub = false;\n loop();\n }\n };\n loop();\n });\n };\n}\n//# sourceMappingURL=retryWhen.js.map"],"mappings":";;;;;;;AAMA,SAAgB,UAAU,UAAU;AAChC,SAAQ,OAAO;AACX,SAAO,IAAI,gBAAgB,YAAY,YAAY,gBAAgB;GAC/D,IAAI;GACJ,IAAI,YAAY;GAChB,IAAI;GACJ,MAAM,aAAa;AACf,eAAW,GAAG,mBAAmB,YAAY,CAAC,UAAU,gBAAgB,SAAS,EAC7E,QAAQ,QAAQ;AACZ,SAAI,CAAC,UAAU;AACX,iBAAW,IAAI,gBAAgB,SAAS;AACxC,eAAS,SAAS,CACb,mBAAmB,YAAY,CAC/B,UAAU,gBAAgB,mBAAmB,YAAY,EAC1D,YAAa,WAAW,MAAM,GAAI,YAAY,MACjD,CAAC,CAAC;;AAEP,SAAI,SACA,UAAS,KAAK,IAAI;OAG7B,CAAC,CAAC,WAAW,CAAC;AACf,QAAI,WAAW;AACX,cAAS,aAAa;AACtB,gBAAW;AACX,iBAAY;AACZ,WAAM;;;AAGd,SAAM;IACR"}
|
|
@@ -1,82 +1,73 @@
|
|
|
1
|
-
import * as tsplus_module_1 from "@fncts/observable/Subject";
|
|
2
1
|
import * as tsplus_module_2 from "@fncts/observable/Observable";
|
|
2
|
+
import * as tsplus_module_1 from "@fncts/observable/Subject";
|
|
3
3
|
import * as tsplus_module_3 from "@fncts/observable/Subscriber";
|
|
4
4
|
import * as tsplus_module_4 from "@fncts/observable/Observable/api";
|
|
5
|
+
//#region build/esm/Observable/api/share.js
|
|
5
6
|
/**
|
|
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
|
-
cancelReset();
|
|
61
|
-
resetConnection = handleReset(reset, resetOnComplete, environment);
|
|
62
|
-
dest.complete();
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
tsplus_module_4.from(fa).provideEnvironment(environment).subscribe(connection);
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
};
|
|
7
|
+
* @tsplus pipeable fncts.observable.Observable share
|
|
8
|
+
*/
|
|
9
|
+
function share(options = {}) {
|
|
10
|
+
return (fa) => {
|
|
11
|
+
const { connector = () => new tsplus_module_1.Subject(), resetOnDefect = true, resetOnComplete = true, resetOnRefCountZero = true } = options;
|
|
12
|
+
let connection = null;
|
|
13
|
+
let resetConnection = null;
|
|
14
|
+
let subject = null;
|
|
15
|
+
let refCount = 0;
|
|
16
|
+
let hasCompleted = false;
|
|
17
|
+
let hasErrored = false;
|
|
18
|
+
const cancelReset = () => {
|
|
19
|
+
resetConnection?.unsubscribe();
|
|
20
|
+
resetConnection = null;
|
|
21
|
+
};
|
|
22
|
+
const reset = () => {
|
|
23
|
+
cancelReset();
|
|
24
|
+
connection = subject = null;
|
|
25
|
+
hasCompleted = hasErrored = false;
|
|
26
|
+
};
|
|
27
|
+
const resetAndUnsubscribe = () => {
|
|
28
|
+
const conn = connection;
|
|
29
|
+
reset();
|
|
30
|
+
conn?.unsubscribe();
|
|
31
|
+
};
|
|
32
|
+
return new tsplus_module_2.Observable((subscriber, environment) => {
|
|
33
|
+
refCount++;
|
|
34
|
+
if (!hasErrored && !hasCompleted) cancelReset();
|
|
35
|
+
const dest = subject ||= connector();
|
|
36
|
+
subscriber.add(() => {
|
|
37
|
+
refCount--;
|
|
38
|
+
if (refCount === 0 && !hasErrored && !hasCompleted) resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero, environment);
|
|
39
|
+
});
|
|
40
|
+
dest.provideEnvironment(environment).subscribe(subscriber);
|
|
41
|
+
if (!connection) {
|
|
42
|
+
connection = new tsplus_module_3.Subscriber({
|
|
43
|
+
next: (value) => dest.next(value),
|
|
44
|
+
error: (defect) => {
|
|
45
|
+
hasErrored = true;
|
|
46
|
+
cancelReset();
|
|
47
|
+
resetConnection = handleReset(reset, resetOnDefect, environment, defect);
|
|
48
|
+
dest.error(defect);
|
|
49
|
+
},
|
|
50
|
+
complete: () => {
|
|
51
|
+
hasCompleted = true;
|
|
52
|
+
cancelReset();
|
|
53
|
+
resetConnection = handleReset(reset, resetOnComplete, environment);
|
|
54
|
+
dest.complete();
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
tsplus_module_4.from(fa).provideEnvironment(environment).subscribe(connection);
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
};
|
|
69
61
|
}
|
|
70
62
|
function handleReset(reset, on, environment, ...args) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
return tsplus_module_4.take(1)(on(...args)).provideEnvironment(environment).subscribe({
|
|
79
|
-
next: () => reset()
|
|
80
|
-
});
|
|
63
|
+
if (on === true) {
|
|
64
|
+
reset();
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
if (on === false) return null;
|
|
68
|
+
return tsplus_module_4.take(1)(on(...args)).provideEnvironment(environment).subscribe({ next: () => reset() });
|
|
81
69
|
}
|
|
70
|
+
//#endregion
|
|
71
|
+
export { share };
|
|
72
|
+
|
|
82
73
|
//# sourceMappingURL=share.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share.mjs","names":["share","
|
|
1
|
+
{"version":3,"file":"share.mjs","names":[],"sources":["../../../esm/Observable/api/share.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/observable/Subject\";\nimport * as tsplus_module_2 from \"@fncts/observable/Observable\";\nimport * as tsplus_module_3 from \"@fncts/observable/Subscriber\";\nimport * as tsplus_module_4 from \"@fncts/observable/Observable/api\";\n/**\n * @tsplus pipeable fncts.observable.Observable share\n */\nexport function share(options = {}) {\n return (fa) => {\n const { connector = () => new tsplus_module_1.Subject(), resetOnDefect = true, resetOnComplete = true, resetOnRefCountZero = true, } = options;\n let connection = null;\n let resetConnection = null;\n let subject = null;\n let refCount = 0;\n let hasCompleted = false;\n let hasErrored = false;\n const cancelReset = () => {\n resetConnection?.unsubscribe();\n resetConnection = null;\n };\n const reset = () => {\n cancelReset();\n connection = subject = null;\n hasCompleted = hasErrored = false;\n };\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn?.unsubscribe();\n };\n return new tsplus_module_2.Observable((subscriber, environment) => {\n refCount++;\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n const dest = (subject ||= connector());\n subscriber.add(() => {\n refCount--;\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero, environment);\n }\n });\n dest.provideEnvironment(environment).subscribe(subscriber);\n if (!connection) {\n connection = new tsplus_module_3.Subscriber({\n next: (value) => dest.next(value),\n error: (defect) => {\n hasErrored = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnDefect, environment, defect);\n dest.error(defect);\n },\n complete: () => {\n hasCompleted = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnComplete, environment);\n dest.complete();\n },\n });\n tsplus_module_4.from(fa).provideEnvironment(environment).subscribe(connection);\n }\n });\n };\n}\nfunction handleReset(reset, on, environment, ...args) {\n if (on === true) {\n reset();\n return null;\n }\n if (on === false) {\n return null;\n }\n return tsplus_module_4.take(1)(on(...args))\n .provideEnvironment(environment)\n .subscribe({ next: () => reset() });\n}\n//# sourceMappingURL=share.js.map"],"mappings":";;;;;;;;AAOA,SAAgB,MAAM,UAAU,EAAE,EAAE;AAChC,SAAQ,OAAO;EACX,MAAM,EAAE,kBAAkB,IAAI,gBAAgB,SAAS,EAAE,gBAAgB,MAAM,kBAAkB,MAAM,sBAAsB,SAAU;EACvI,IAAI,aAAa;EACjB,IAAI,kBAAkB;EACtB,IAAI,UAAU;EACd,IAAI,WAAW;EACf,IAAI,eAAe;EACnB,IAAI,aAAa;EACjB,MAAM,oBAAoB;AACtB,oBAAiB,aAAa;AAC9B,qBAAkB;;EAEtB,MAAM,cAAc;AAChB,gBAAa;AACb,gBAAa,UAAU;AACvB,kBAAe,aAAa;;EAEhC,MAAM,4BAA4B;GAC9B,MAAM,OAAO;AACb,UAAO;AACP,SAAM,aAAa;;AAEvB,SAAO,IAAI,gBAAgB,YAAY,YAAY,gBAAgB;AAC/D;AACA,OAAI,CAAC,cAAc,CAAC,aAChB,cAAa;GAEjB,MAAM,OAAQ,YAAY,WAAW;AACrC,cAAW,UAAU;AACjB;AACA,QAAI,aAAa,KAAK,CAAC,cAAc,CAAC,aAClC,mBAAkB,YAAY,qBAAqB,qBAAqB,YAAY;KAE1F;AACF,QAAK,mBAAmB,YAAY,CAAC,UAAU,WAAW;AAC1D,OAAI,CAAC,YAAY;AACb,iBAAa,IAAI,gBAAgB,WAAW;KACxC,OAAO,UAAU,KAAK,KAAK,MAAM;KACjC,QAAQ,WAAW;AACf,mBAAa;AACb,mBAAa;AACb,wBAAkB,YAAY,OAAO,eAAe,aAAa,OAAO;AACxE,WAAK,MAAM,OAAO;;KAEtB,gBAAgB;AACZ,qBAAe;AACf,mBAAa;AACb,wBAAkB,YAAY,OAAO,iBAAiB,YAAY;AAClE,WAAK,UAAU;;KAEtB,CAAC;AACF,oBAAgB,KAAK,GAAG,CAAC,mBAAmB,YAAY,CAAC,UAAU,WAAW;;IAEpF;;;AAGV,SAAS,YAAY,OAAO,IAAI,aAAa,GAAG,MAAM;AAClD,KAAI,OAAO,MAAM;AACb,SAAO;AACP,SAAO;;AAEX,KAAI,OAAO,MACP,QAAO;AAEX,QAAO,gBAAgB,KAAK,EAAE,CAAC,GAAG,GAAG,KAAK,CAAC,CACtC,mBAAmB,YAAY,CAC/B,UAAU,EAAE,YAAY,OAAO,EAAE,CAAC"}
|
|
@@ -1,40 +1,44 @@
|
|
|
1
1
|
import * as tsplus_module_1 from "@fncts/observable/Observable";
|
|
2
|
-
import * as tsplus_module_2 from "@fncts/observable/Subject";
|
|
3
2
|
import * as tsplus_module_3 from "@fncts/observable/Operator";
|
|
3
|
+
import * as tsplus_module_2 from "@fncts/observable/Subject";
|
|
4
4
|
import * as tsplus_module_4 from "@fncts/observable/internal/util";
|
|
5
|
+
//#region build/esm/Observable/api/window.js
|
|
5
6
|
/**
|
|
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
|
-
|
|
7
|
+
* @tsplus pipeable fncts.observable.Observable window
|
|
8
|
+
*/
|
|
9
|
+
function window(windowBoundaries) {
|
|
10
|
+
return (fa) => {
|
|
11
|
+
return new tsplus_module_1.Observable((subscriber, environment) => {
|
|
12
|
+
let windowSubject = new tsplus_module_2.Subject();
|
|
13
|
+
subscriber.next(windowSubject.asObservable());
|
|
14
|
+
const errorHandler = (err) => {
|
|
15
|
+
windowSubject.error(err);
|
|
16
|
+
subscriber.error(err);
|
|
17
|
+
};
|
|
18
|
+
fa.provideEnvironment(environment).subscribe(tsplus_module_3.operate_({
|
|
19
|
+
next: (value) => windowSubject.next(value),
|
|
20
|
+
error: errorHandler,
|
|
21
|
+
complete: () => {
|
|
22
|
+
windowSubject.complete();
|
|
23
|
+
subscriber.complete();
|
|
24
|
+
}
|
|
25
|
+
})(subscriber));
|
|
26
|
+
windowBoundaries.subscribe(tsplus_module_3.operatorSubscriber(subscriber, {
|
|
27
|
+
next: () => {
|
|
28
|
+
windowSubject.complete();
|
|
29
|
+
subscriber.next(windowSubject = new tsplus_module_2.Subject());
|
|
30
|
+
},
|
|
31
|
+
complete: tsplus_module_4.noop,
|
|
32
|
+
error: errorHandler
|
|
33
|
+
}));
|
|
34
|
+
return () => {
|
|
35
|
+
windowSubject.unsubscribe();
|
|
36
|
+
windowSubject = null;
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
};
|
|
39
40
|
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { window };
|
|
43
|
+
|
|
40
44
|
//# sourceMappingURL=window.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.mjs","names":["
|
|
1
|
+
{"version":3,"file":"window.mjs","names":[],"sources":["../../../esm/Observable/api/window.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/observable/Observable\";\nimport * as tsplus_module_2 from \"@fncts/observable/Subject\";\nimport * as tsplus_module_3 from \"@fncts/observable/Operator\";\nimport * as tsplus_module_4 from \"@fncts/observable/internal/util\";\n/**\n * @tsplus pipeable fncts.observable.Observable window\n */\nexport function window(windowBoundaries) {\n return (fa) => {\n return new tsplus_module_1.Observable((subscriber, environment) => {\n let windowSubject = new tsplus_module_2.Subject();\n subscriber.next(windowSubject.asObservable());\n const errorHandler = (err) => {\n windowSubject.error(err);\n subscriber.error(err);\n };\n fa.provideEnvironment(environment).subscribe(tsplus_module_3.operate_({\n next: (value) => windowSubject.next(value),\n error: errorHandler,\n complete: () => {\n windowSubject.complete();\n subscriber.complete();\n },\n })(subscriber));\n windowBoundaries.subscribe(tsplus_module_3.operatorSubscriber(subscriber, {\n next: () => {\n windowSubject.complete();\n subscriber.next((windowSubject = new tsplus_module_2.Subject()));\n },\n complete: tsplus_module_4.noop,\n error: errorHandler,\n }));\n return () => {\n windowSubject.unsubscribe();\n windowSubject = null;\n };\n });\n };\n}\n//# sourceMappingURL=window.js.map"],"mappings":";;;;;;;;AAOA,SAAgB,OAAO,kBAAkB;AACrC,SAAQ,OAAO;AACX,SAAO,IAAI,gBAAgB,YAAY,YAAY,gBAAgB;GAC/D,IAAI,gBAAgB,IAAI,gBAAgB,SAAS;AACjD,cAAW,KAAK,cAAc,cAAc,CAAC;GAC7C,MAAM,gBAAgB,QAAQ;AAC1B,kBAAc,MAAM,IAAI;AACxB,eAAW,MAAM,IAAI;;AAEzB,MAAG,mBAAmB,YAAY,CAAC,UAAU,gBAAgB,SAAS;IAClE,OAAO,UAAU,cAAc,KAAK,MAAM;IAC1C,OAAO;IACP,gBAAgB;AACZ,mBAAc,UAAU;AACxB,gBAAW,UAAU;;IAE5B,CAAC,CAAC,WAAW,CAAC;AACf,oBAAiB,UAAU,gBAAgB,mBAAmB,YAAY;IACtE,YAAY;AACR,mBAAc,UAAU;AACxB,gBAAW,KAAM,gBAAgB,IAAI,gBAAgB,SAAS,CAAE;;IAEpE,UAAU,gBAAgB;IAC1B,OAAO;IACV,CAAC,CAAC;AACH,gBAAa;AACT,kBAAc,aAAa;AAC3B,oBAAgB;;IAEtB"}
|
|
@@ -1,48 +1,44 @@
|
|
|
1
1
|
import * as tsplus_module_1 from "@fncts/observable/Observable";
|
|
2
|
-
import * as tsplus_module_2 from "@fncts/observable/Subject";
|
|
3
2
|
import * as tsplus_module_3 from "@fncts/observable/Operator";
|
|
3
|
+
import * as tsplus_module_2 from "@fncts/observable/Subject";
|
|
4
|
+
//#region build/esm/Observable/api/windowCount.js
|
|
4
5
|
/**
|
|
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
|
-
subscriber.error(err);
|
|
40
|
-
},
|
|
41
|
-
finalize: () => {
|
|
42
|
-
windows = null;
|
|
43
|
-
}
|
|
44
|
-
})(subscriber));
|
|
45
|
-
});
|
|
46
|
-
};
|
|
6
|
+
* @tsplus pipeable fncts.observable.Observable windowCount
|
|
7
|
+
*/
|
|
8
|
+
function windowCount(windowSize, startWindowEvery = 0) {
|
|
9
|
+
return (fa) => {
|
|
10
|
+
const startEvery = startWindowEvery > 0 ? startWindowEvery : windowSize;
|
|
11
|
+
return new tsplus_module_1.Observable((subscriber, environment) => {
|
|
12
|
+
let windows = [new tsplus_module_2.Subject()];
|
|
13
|
+
let count = 0;
|
|
14
|
+
subscriber.next(windows[0].asObservable());
|
|
15
|
+
fa.provideEnvironment(environment).subscribe(tsplus_module_3.operate_({
|
|
16
|
+
next: (value) => {
|
|
17
|
+
for (const window of windows) window.next(value);
|
|
18
|
+
const c = count - windowSize + 1;
|
|
19
|
+
if (c >= 0 && c % startEvery === 0) windows.shift().complete();
|
|
20
|
+
if (++count && startEvery === 0) {
|
|
21
|
+
const window = new tsplus_module_2.Subject();
|
|
22
|
+
windows.push(window);
|
|
23
|
+
subscriber.next(window.asObservable());
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
complete: () => {
|
|
27
|
+
while (windows.length > 0) windows.shift().complete();
|
|
28
|
+
subscriber.complete();
|
|
29
|
+
},
|
|
30
|
+
error: (err) => {
|
|
31
|
+
while (windows.length > 0) windows.shift().error(err);
|
|
32
|
+
subscriber.error(err);
|
|
33
|
+
},
|
|
34
|
+
finalize: () => {
|
|
35
|
+
windows = null;
|
|
36
|
+
}
|
|
37
|
+
})(subscriber));
|
|
38
|
+
});
|
|
39
|
+
};
|
|
47
40
|
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { windowCount };
|
|
43
|
+
|
|
48
44
|
//# sourceMappingURL=windowCount.mjs.map
|