@donmahallem/rxjs-zone 0.4.4 → 0.4.7
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/dist/cjs/index.cjs +0 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/run-inside-zone.cjs +29 -32
- package/dist/cjs/run-inside-zone.cjs.map +1 -1
- package/dist/cjs/run-outside-zone.cjs +29 -32
- package/dist/cjs/run-outside-zone.cjs.map +1 -1
- package/dist/esm/run-inside-zone.mjs +29 -30
- package/dist/esm/run-inside-zone.mjs.map +1 -1
- package/dist/esm/run-outside-zone.mjs +29 -30
- package/dist/esm/run-outside-zone.mjs.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/run-inside-zone.d.ts +8 -9
- package/dist/types/run-outside-zone.d.ts +8 -9
- package/package.json +6 -7
- package/src/run-inside-zone.ts +0 -1
- package/src/run-outside-zone.ts +0 -1
package/dist/cjs/index.cjs
CHANGED
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,40 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
const core = require('@angular/core');
|
|
6
4
|
const rxjs = require('rxjs');
|
|
7
5
|
|
|
8
|
-
/*
|
|
9
|
-
* Package @donmahallem/rxjs-zone
|
|
10
|
-
* Source https://donmahallem.github.io/js-libs/
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Runs the provided observable in the NgZone
|
|
14
|
-
*
|
|
15
|
-
* @
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}));
|
|
6
|
+
/*
|
|
7
|
+
* Package @donmahallem/rxjs-zone
|
|
8
|
+
* Source https://donmahallem.github.io/js-libs/
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Runs the provided observable in the NgZone
|
|
12
|
+
* @param {import('@angular/core').NgZone} zone Zone to run in
|
|
13
|
+
* @returns {import('rxjs').MonoTypeOperatorFunction<T>} passes on data in the zone
|
|
14
|
+
*/
|
|
15
|
+
function runInsideZone(zone) {
|
|
16
|
+
return (source) => new rxjs.Observable((observer) => source.subscribe({
|
|
17
|
+
complete() {
|
|
18
|
+
observer.complete();
|
|
19
|
+
},
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
21
|
+
error(err) {
|
|
22
|
+
observer.error(err);
|
|
23
|
+
},
|
|
24
|
+
next(x) {
|
|
25
|
+
if (core.NgZone.isInAngularZone()) {
|
|
26
|
+
observer.next(x);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
zone.run(() => {
|
|
30
|
+
observer.next(x);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
}));
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
exports.runInsideZone = runInsideZone;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-inside-zone.cjs","sources":["../../src/run-inside-zone.ts"],"sourcesContent":[null],"names":["Observable","NgZone"],"mappings":"
|
|
1
|
+
{"version":3,"file":"run-inside-zone.cjs","sources":["../../src/run-inside-zone.ts"],"sourcesContent":[null],"names":["Observable","NgZone"],"mappings":";;;;;AAAA;;;AAGG;AAMH;;;;AAIG;AACG,SAAU,aAAa,CAAI,IAAY,EAAA;AACzC,IAAA,OAAO,CAAC,MAAqB,KACzB,IAAIA,eAAU,CACV,CAAC,QAAuB,KACpB,MAAM,CAAC,SAAS,CAAC;QACb,QAAQ,GAAA;YACJ,QAAQ,CAAC,QAAQ,EAAE,CAAC;SACvB;;AAED,QAAA,KAAK,CAAC,GAAQ,EAAA;AACV,YAAA,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;SACvB;AACD,QAAA,IAAI,CAAC,CAAI,EAAA;AACL,YAAA,IAAIC,WAAM,CAAC,eAAe,EAAE,EAAE;AAC1B,gBAAA,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACpB;iBAAM;AACH,gBAAA,IAAI,CAAC,GAAG,CAAC,MAAW;AAChB,oBAAA,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACrB,iBAAC,CAAC,CAAC;aACN;SACJ;AACJ,KAAA,CAAC,CACT,CAAC;AACV;;;;"}
|
|
@@ -1,40 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
const core = require('@angular/core');
|
|
6
4
|
const rxjs = require('rxjs');
|
|
7
5
|
|
|
8
|
-
/*
|
|
9
|
-
* Package @donmahallem/rxjs-zone
|
|
10
|
-
* Source https://donmahallem.github.io/js-libs/
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Runs the provided observable outside the NgZone
|
|
14
|
-
*
|
|
15
|
-
* @
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}));
|
|
6
|
+
/*
|
|
7
|
+
* Package @donmahallem/rxjs-zone
|
|
8
|
+
* Source https://donmahallem.github.io/js-libs/
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Runs the provided observable outside the NgZone
|
|
12
|
+
* @param {import('@angular/core').NgZone} zone Zone to run outside of
|
|
13
|
+
* @returns {import('rxjs').MonoTypeOperatorFunction<T>} passes on data outside the zone
|
|
14
|
+
*/
|
|
15
|
+
function runOutsideZone(zone) {
|
|
16
|
+
return (source) => new rxjs.Observable((observer) => source.subscribe({
|
|
17
|
+
complete() {
|
|
18
|
+
observer.complete();
|
|
19
|
+
},
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
21
|
+
error(err) {
|
|
22
|
+
observer.error(err);
|
|
23
|
+
},
|
|
24
|
+
next(x) {
|
|
25
|
+
if (core.NgZone.isInAngularZone()) {
|
|
26
|
+
zone.runOutsideAngular(() => {
|
|
27
|
+
observer.next(x);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
observer.next(x);
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
}));
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
exports.runOutsideZone = runOutsideZone;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-outside-zone.cjs","sources":["../../src/run-outside-zone.ts"],"sourcesContent":[null],"names":["Observable","NgZone"],"mappings":"
|
|
1
|
+
{"version":3,"file":"run-outside-zone.cjs","sources":["../../src/run-outside-zone.ts"],"sourcesContent":[null],"names":["Observable","NgZone"],"mappings":";;;;;AAAA;;;AAGG;AAMH;;;;AAIG;AACG,SAAU,cAAc,CAAI,IAAY,EAAA;AAC1C,IAAA,OAAO,CAAC,MAAqB,KACzB,IAAIA,eAAU,CACV,CAAC,QAAuB,KACpB,MAAM,CAAC,SAAS,CAAC;QACb,QAAQ,GAAA;YACJ,QAAQ,CAAC,QAAQ,EAAE,CAAC;SACvB;;AAED,QAAA,KAAK,CAAC,GAAQ,EAAA;AACV,YAAA,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;SACvB;AACD,QAAA,IAAI,CAAC,CAAI,EAAA;AACL,YAAA,IAAIC,WAAM,CAAC,eAAe,EAAE,EAAE;AAC1B,gBAAA,IAAI,CAAC,iBAAiB,CAAC,MAAW;AAC9B,oBAAA,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACrB,iBAAC,CAAC,CAAC;aACN;iBAAM;AACH,gBAAA,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACpB;SACJ;AACJ,KAAA,CAAC,CACT,CAAC;AACV;;;;"}
|
|
@@ -1,36 +1,35 @@
|
|
|
1
1
|
import { NgZone } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
|
|
4
|
-
/*
|
|
5
|
-
* Package @donmahallem/rxjs-zone
|
|
6
|
-
* Source https://donmahallem.github.io/js-libs/
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Runs the provided observable in the NgZone
|
|
10
|
-
*
|
|
11
|
-
* @
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}));
|
|
4
|
+
/*
|
|
5
|
+
* Package @donmahallem/rxjs-zone
|
|
6
|
+
* Source https://donmahallem.github.io/js-libs/
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Runs the provided observable in the NgZone
|
|
10
|
+
* @param {import('@angular/core').NgZone} zone Zone to run in
|
|
11
|
+
* @returns {import('rxjs').MonoTypeOperatorFunction<T>} passes on data in the zone
|
|
12
|
+
*/
|
|
13
|
+
function runInsideZone(zone) {
|
|
14
|
+
return (source) => new Observable((observer) => source.subscribe({
|
|
15
|
+
complete() {
|
|
16
|
+
observer.complete();
|
|
17
|
+
},
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
19
|
+
error(err) {
|
|
20
|
+
observer.error(err);
|
|
21
|
+
},
|
|
22
|
+
next(x) {
|
|
23
|
+
if (NgZone.isInAngularZone()) {
|
|
24
|
+
observer.next(x);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
zone.run(() => {
|
|
28
|
+
observer.next(x);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
}));
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
export { runInsideZone };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-inside-zone.mjs","sources":["../../src/run-inside-zone.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAAA;;;AAGG;AAMH
|
|
1
|
+
{"version":3,"file":"run-inside-zone.mjs","sources":["../../src/run-inside-zone.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAAA;;;AAGG;AAMH;;;;AAIG;AACG,SAAU,aAAa,CAAI,IAAY,EAAA;AACzC,IAAA,OAAO,CAAC,MAAqB,KACzB,IAAI,UAAU,CACV,CAAC,QAAuB,KACpB,MAAM,CAAC,SAAS,CAAC;QACb,QAAQ,GAAA;YACJ,QAAQ,CAAC,QAAQ,EAAE,CAAC;SACvB;;AAED,QAAA,KAAK,CAAC,GAAQ,EAAA;AACV,YAAA,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;SACvB;AACD,QAAA,IAAI,CAAC,CAAI,EAAA;AACL,YAAA,IAAI,MAAM,CAAC,eAAe,EAAE,EAAE;AAC1B,gBAAA,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACpB;iBAAM;AACH,gBAAA,IAAI,CAAC,GAAG,CAAC,MAAW;AAChB,oBAAA,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACrB,iBAAC,CAAC,CAAC;aACN;SACJ;AACJ,KAAA,CAAC,CACT,CAAC;AACV;;;;"}
|
|
@@ -1,36 +1,35 @@
|
|
|
1
1
|
import { NgZone } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
|
|
4
|
-
/*
|
|
5
|
-
* Package @donmahallem/rxjs-zone
|
|
6
|
-
* Source https://donmahallem.github.io/js-libs/
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Runs the provided observable outside the NgZone
|
|
10
|
-
*
|
|
11
|
-
* @
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}));
|
|
4
|
+
/*
|
|
5
|
+
* Package @donmahallem/rxjs-zone
|
|
6
|
+
* Source https://donmahallem.github.io/js-libs/
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Runs the provided observable outside the NgZone
|
|
10
|
+
* @param {import('@angular/core').NgZone} zone Zone to run outside of
|
|
11
|
+
* @returns {import('rxjs').MonoTypeOperatorFunction<T>} passes on data outside the zone
|
|
12
|
+
*/
|
|
13
|
+
function runOutsideZone(zone) {
|
|
14
|
+
return (source) => new Observable((observer) => source.subscribe({
|
|
15
|
+
complete() {
|
|
16
|
+
observer.complete();
|
|
17
|
+
},
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
19
|
+
error(err) {
|
|
20
|
+
observer.error(err);
|
|
21
|
+
},
|
|
22
|
+
next(x) {
|
|
23
|
+
if (NgZone.isInAngularZone()) {
|
|
24
|
+
zone.runOutsideAngular(() => {
|
|
25
|
+
observer.next(x);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
observer.next(x);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
}));
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
export { runOutsideZone };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-outside-zone.mjs","sources":["../../src/run-outside-zone.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAAA;;;AAGG;AAMH
|
|
1
|
+
{"version":3,"file":"run-outside-zone.mjs","sources":["../../src/run-outside-zone.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAAA;;;AAGG;AAMH;;;;AAIG;AACG,SAAU,cAAc,CAAI,IAAY,EAAA;AAC1C,IAAA,OAAO,CAAC,MAAqB,KACzB,IAAI,UAAU,CACV,CAAC,QAAuB,KACpB,MAAM,CAAC,SAAS,CAAC;QACb,QAAQ,GAAA;YACJ,QAAQ,CAAC,QAAQ,EAAE,CAAC;SACvB;;AAED,QAAA,KAAK,CAAC,GAAQ,EAAA;AACV,YAAA,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;SACvB;AACD,QAAA,IAAI,CAAC,CAAI,EAAA;AACL,YAAA,IAAI,MAAM,CAAC,eAAe,EAAE,EAAE;AAC1B,gBAAA,IAAI,CAAC,iBAAiB,CAAC,MAAW;AAC9B,oBAAA,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACrB,iBAAC,CAAC,CAAC;aACN;iBAAM;AACH,gBAAA,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACpB;SACJ;AACJ,KAAA,CAAC,CACT,CAAC;AACV;;;;"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { runInsideZone } from './run-inside-zone';
|
|
2
|
-
export { runOutsideZone } from './run-outside-zone';
|
|
1
|
+
export { runInsideZone } from './run-inside-zone';
|
|
2
|
+
export { runOutsideZone } from './run-outside-zone';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import type { MonoTypeOperatorFunction } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* Runs the provided observable in the NgZone
|
|
5
|
-
*
|
|
6
|
-
* @
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export declare function runInsideZone<T>(zone: NgZone): MonoTypeOperatorFunction<T>;
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import type { MonoTypeOperatorFunction } from 'rxjs';
|
|
3
|
+
/**
|
|
4
|
+
* Runs the provided observable in the NgZone
|
|
5
|
+
* @param {import('@angular/core').NgZone} zone Zone to run in
|
|
6
|
+
* @returns {import('rxjs').MonoTypeOperatorFunction<T>} passes on data in the zone
|
|
7
|
+
*/
|
|
8
|
+
export declare function runInsideZone<T>(zone: NgZone): MonoTypeOperatorFunction<T>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import type { MonoTypeOperatorFunction } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* Runs the provided observable outside the NgZone
|
|
5
|
-
*
|
|
6
|
-
* @
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export declare function runOutsideZone<T>(zone: NgZone): MonoTypeOperatorFunction<T>;
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import type { MonoTypeOperatorFunction } from 'rxjs';
|
|
3
|
+
/**
|
|
4
|
+
* Runs the provided observable outside the NgZone
|
|
5
|
+
* @param {import('@angular/core').NgZone} zone Zone to run outside of
|
|
6
|
+
* @returns {import('rxjs').MonoTypeOperatorFunction<T>} passes on data outside the zone
|
|
7
|
+
*/
|
|
8
|
+
export declare function runOutsideZone<T>(zone: NgZone): MonoTypeOperatorFunction<T>;
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@donmahallem/rxjs-zone",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "Helper for handling zone.js with rxjs",
|
|
5
5
|
"main": "./dist/cjs/index.cjs",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
7
|
-
"module": "./dist/esm/index.mjs",
|
|
8
7
|
"private": false,
|
|
9
8
|
"type": "module",
|
|
10
9
|
"keywords": [
|
|
@@ -15,7 +14,7 @@
|
|
|
15
14
|
],
|
|
16
15
|
"typedocMain": "./src/index.ts",
|
|
17
16
|
"scripts": {
|
|
18
|
-
"build": "rollup -c rollup.config.
|
|
17
|
+
"build": "rollup -c rollup.config.mjs",
|
|
19
18
|
"build:readme": "npx @appnest/readme generate --input ../package_readme_blueprint.md --config readme_config.json",
|
|
20
19
|
"test": "mocha --config ../../.mocharc.json",
|
|
21
20
|
"test:coverage": "c8 --config ../../.nycrc.json npm run test",
|
|
@@ -56,12 +55,12 @@
|
|
|
56
55
|
"access": "public"
|
|
57
56
|
},
|
|
58
57
|
"devDependencies": {
|
|
59
|
-
"@angular/core": "
|
|
60
|
-
"rxjs": "7.
|
|
58
|
+
"@angular/core": "15.2.10",
|
|
59
|
+
"rxjs": "7.8.1"
|
|
61
60
|
},
|
|
62
61
|
"peerDependencies": {
|
|
63
|
-
"@angular/core": "<
|
|
62
|
+
"@angular/core": "<16.0.0",
|
|
64
63
|
"rxjs": "<8.0.0"
|
|
65
64
|
},
|
|
66
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "20bc4f61fa034321931f37859dbd196b04e7909c"
|
|
67
66
|
}
|
package/src/run-inside-zone.ts
CHANGED
|
@@ -9,7 +9,6 @@ import type { MonoTypeOperatorFunction, Subscriber, Subscription } from 'rxjs';
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Runs the provided observable in the NgZone
|
|
12
|
-
*
|
|
13
12
|
* @param {import('@angular/core').NgZone} zone Zone to run in
|
|
14
13
|
* @returns {import('rxjs').MonoTypeOperatorFunction<T>} passes on data in the zone
|
|
15
14
|
*/
|
package/src/run-outside-zone.ts
CHANGED
|
@@ -9,7 +9,6 @@ import type { MonoTypeOperatorFunction, Subscriber, Subscription } from 'rxjs';
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Runs the provided observable outside the NgZone
|
|
12
|
-
*
|
|
13
12
|
* @param {import('@angular/core').NgZone} zone Zone to run outside of
|
|
14
13
|
* @returns {import('rxjs').MonoTypeOperatorFunction<T>} passes on data outside the zone
|
|
15
14
|
*/
|