@outfoxx/sunday 1.1.0-beta.15 → 1.1.0-beta.16
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/build/esm/util/rxjs.d.ts +21 -0
- package/build/esm/util/rxjs.js +38 -1
- package/build/esm/util/rxjs.js.map +1 -1
- package/build/esnext/util/rxjs.d.ts +21 -0
- package/build/esnext/util/rxjs.js +38 -1
- package/build/esnext/util/rxjs.js.map +1 -1
- package/build/main/util/rxjs.d.ts +21 -0
- package/build/main/util/rxjs.js +39 -1
- package/build/main/util/rxjs.js.map +1 -1
- package/package.json +1 -1
package/build/esm/util/rxjs.d.ts
CHANGED
|
@@ -3,3 +3,24 @@ import { ClassType } from '../class-type';
|
|
|
3
3
|
import { Problem } from '../problem';
|
|
4
4
|
export declare function nullifyNotFound<T>(): (source: Observable<T>) => Observable<T | null>;
|
|
5
5
|
export declare function nullifyResponse<T>(statuses: number[], problemTypes: ClassType<Problem>[]): (source: Observable<T>) => Observable<T | null>;
|
|
6
|
+
export interface AbortError extends Error {
|
|
7
|
+
}
|
|
8
|
+
export declare type AbortErrorCtor = new () => AbortError;
|
|
9
|
+
/**
|
|
10
|
+
* An error thrown when an Observable converted to a promise is aborted with
|
|
11
|
+
* via a provided `AbortSignal`.
|
|
12
|
+
*
|
|
13
|
+
* @see {@link promiseFrom}
|
|
14
|
+
*
|
|
15
|
+
* @class AbortError
|
|
16
|
+
*/
|
|
17
|
+
export declare const AbortError: AbortErrorCtor;
|
|
18
|
+
/**
|
|
19
|
+
* Converts an Observable to a Promise, optionally aborting the Observable via
|
|
20
|
+
* a provided `AbortSignal`.
|
|
21
|
+
*
|
|
22
|
+
* @param obs Observable to convert to a Promise
|
|
23
|
+
* @param signal Optional AbortSignal to abort the Observable
|
|
24
|
+
* @returns Promise that resolves to the first value from the Observable
|
|
25
|
+
*/
|
|
26
|
+
export declare function promiseFrom<T>(obs: Observable<T>, signal?: AbortSignal): Promise<T>;
|
package/build/esm/util/rxjs.js
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { catchError, from, throwError } from 'rxjs';
|
|
14
|
+
import { catchError, firstValueFrom, from, fromEvent, switchMap, take, takeUntil, throwError, } from 'rxjs';
|
|
15
|
+
import { createErrorClass } from 'rxjs/internal/util/createErrorClass';
|
|
15
16
|
import { Problem } from '../problem';
|
|
16
17
|
export function nullifyNotFound() {
|
|
17
18
|
return nullifyResponse([404], []);
|
|
@@ -28,4 +29,40 @@ export function nullifyResponse(statuses, problemTypes) {
|
|
|
28
29
|
}));
|
|
29
30
|
};
|
|
30
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* An error thrown when an Observable converted to a promise is aborted with
|
|
34
|
+
* via a provided `AbortSignal`.
|
|
35
|
+
*
|
|
36
|
+
* @see {@link promiseFrom}
|
|
37
|
+
*
|
|
38
|
+
* @class AbortError
|
|
39
|
+
*/
|
|
40
|
+
export const AbortError = createErrorClass((_super) => function AbortErrorImpl() {
|
|
41
|
+
_super(this);
|
|
42
|
+
this.name = 'AbortError';
|
|
43
|
+
this.message = 'sequence was aborted';
|
|
44
|
+
});
|
|
45
|
+
/**
|
|
46
|
+
* Converts an Observable to a Promise, optionally aborting the Observable via
|
|
47
|
+
* a provided `AbortSignal`.
|
|
48
|
+
*
|
|
49
|
+
* @param obs Observable to convert to a Promise
|
|
50
|
+
* @param signal Optional AbortSignal to abort the Observable
|
|
51
|
+
* @returns Promise that resolves to the first value from the Observable
|
|
52
|
+
*/
|
|
53
|
+
export function promiseFrom(obs, signal) {
|
|
54
|
+
if (!signal) {
|
|
55
|
+
return firstValueFrom(obs);
|
|
56
|
+
}
|
|
57
|
+
// Reject immediately if the signal has already fired. Use `AbortError`
|
|
58
|
+
// because that's what `first` will fail with per the note below
|
|
59
|
+
if (signal.aborted) {
|
|
60
|
+
return Promise.reject(new AbortError());
|
|
61
|
+
}
|
|
62
|
+
const stop = fromEvent(signal, 'abort').pipe(take(1), switchMap(() => throwError(() => new AbortError())));
|
|
63
|
+
// Note that `takeUntil` will cause the observable to complete when the
|
|
64
|
+
// Signal fires, but `firstValueFrom` will fail with EmptyError if there
|
|
65
|
+
// wasn't a value, which will reject out of the returned Promise.
|
|
66
|
+
return firstValueFrom(obs.pipe(takeUntil(stop)));
|
|
67
|
+
}
|
|
31
68
|
//# sourceMappingURL=rxjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxjs.js","sourceRoot":"","sources":["../../../src/util/rxjs.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,
|
|
1
|
+
{"version":3,"file":"rxjs.js","sourceRoot":"","sources":["../../../src/util/rxjs.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,EACL,UAAU,EACV,cAAc,EACd,IAAI,EACJ,SAAS,EAET,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,MAAM,UAAU,eAAe;IAG7B,OAAO,eAAe,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC;AACpC,CAAC;A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,IAAI,UAAU,EAAE,CAAC,CAAC,CACpD,CAAC;IAEF,uEAAuE;IACvE,wEAAwE;IACxE,iEAAiE;IACjE,OAAO,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACnD,CAAC"}
|
|
@@ -3,3 +3,24 @@ import { ClassType } from '../class-type';
|
|
|
3
3
|
import { Problem } from '../problem';
|
|
4
4
|
export declare function nullifyNotFound<T>(): (source: Observable<T>) => Observable<T | null>;
|
|
5
5
|
export declare function nullifyResponse<T>(statuses: number[], problemTypes: ClassType<Problem>[]): (source: Observable<T>) => Observable<T | null>;
|
|
6
|
+
export interface AbortError extends Error {
|
|
7
|
+
}
|
|
8
|
+
export declare type AbortErrorCtor = new () => AbortError;
|
|
9
|
+
/**
|
|
10
|
+
* An error thrown when an Observable converted to a promise is aborted with
|
|
11
|
+
* via a provided `AbortSignal`.
|
|
12
|
+
*
|
|
13
|
+
* @see {@link promiseFrom}
|
|
14
|
+
*
|
|
15
|
+
* @class AbortError
|
|
16
|
+
*/
|
|
17
|
+
export declare const AbortError: AbortErrorCtor;
|
|
18
|
+
/**
|
|
19
|
+
* Converts an Observable to a Promise, optionally aborting the Observable via
|
|
20
|
+
* a provided `AbortSignal`.
|
|
21
|
+
*
|
|
22
|
+
* @param obs Observable to convert to a Promise
|
|
23
|
+
* @param signal Optional AbortSignal to abort the Observable
|
|
24
|
+
* @returns Promise that resolves to the first value from the Observable
|
|
25
|
+
*/
|
|
26
|
+
export declare function promiseFrom<T>(obs: Observable<T>, signal?: AbortSignal): Promise<T>;
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { catchError, from, throwError } from 'rxjs';
|
|
14
|
+
import { catchError, firstValueFrom, from, fromEvent, switchMap, take, takeUntil, throwError, } from 'rxjs';
|
|
15
|
+
import { createErrorClass } from 'rxjs/internal/util/createErrorClass';
|
|
15
16
|
import { Problem } from '../problem';
|
|
16
17
|
export function nullifyNotFound() {
|
|
17
18
|
return nullifyResponse([404], []);
|
|
@@ -28,4 +29,40 @@ export function nullifyResponse(statuses, problemTypes) {
|
|
|
28
29
|
}));
|
|
29
30
|
};
|
|
30
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* An error thrown when an Observable converted to a promise is aborted with
|
|
34
|
+
* via a provided `AbortSignal`.
|
|
35
|
+
*
|
|
36
|
+
* @see {@link promiseFrom}
|
|
37
|
+
*
|
|
38
|
+
* @class AbortError
|
|
39
|
+
*/
|
|
40
|
+
export const AbortError = createErrorClass((_super) => function AbortErrorImpl() {
|
|
41
|
+
_super(this);
|
|
42
|
+
this.name = 'AbortError';
|
|
43
|
+
this.message = 'sequence was aborted';
|
|
44
|
+
});
|
|
45
|
+
/**
|
|
46
|
+
* Converts an Observable to a Promise, optionally aborting the Observable via
|
|
47
|
+
* a provided `AbortSignal`.
|
|
48
|
+
*
|
|
49
|
+
* @param obs Observable to convert to a Promise
|
|
50
|
+
* @param signal Optional AbortSignal to abort the Observable
|
|
51
|
+
* @returns Promise that resolves to the first value from the Observable
|
|
52
|
+
*/
|
|
53
|
+
export function promiseFrom(obs, signal) {
|
|
54
|
+
if (!signal) {
|
|
55
|
+
return firstValueFrom(obs);
|
|
56
|
+
}
|
|
57
|
+
// Reject immediately if the signal has already fired. Use `AbortError`
|
|
58
|
+
// because that's what `first` will fail with per the note below
|
|
59
|
+
if (signal.aborted) {
|
|
60
|
+
return Promise.reject(new AbortError());
|
|
61
|
+
}
|
|
62
|
+
const stop = fromEvent(signal, 'abort').pipe(take(1), switchMap(() => throwError(() => new AbortError())));
|
|
63
|
+
// Note that `takeUntil` will cause the observable to complete when the
|
|
64
|
+
// Signal fires, but `firstValueFrom` will fail with EmptyError if there
|
|
65
|
+
// wasn't a value, which will reject out of the returned Promise.
|
|
66
|
+
return firstValueFrom(obs.pipe(takeUntil(stop)));
|
|
67
|
+
}
|
|
31
68
|
//# sourceMappingURL=rxjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxjs.js","sourceRoot":"","sources":["../../../src/util/rxjs.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,
|
|
1
|
+
{"version":3,"file":"rxjs.js","sourceRoot":"","sources":["../../../src/util/rxjs.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,EACL,UAAU,EACV,cAAc,EACd,IAAI,EACJ,SAAS,EAET,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,MAAM,UAAU,eAAe;IAG7B,OAAO,eAAe,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,eAAe,CAC7B,QAAkB,EAClB,YAAkC;IAElC,OAAO,UAAa,MAAqB;QACvC,OAAO,MAAM,CAAC,IAAI,CAChB,UAAU,CAAC,CAAC,KAAK,EAAE,EAAE;YACnB,MAAM,SAAS,GAAG,KAAK,CAAC,WAAiC,CAAC;YAC1D,IACE,KAAK,YAAY,OAAO;gBACxB,CAAC,QAAQ,CAAC,QAAQ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problem';
|
|
4
4
|
export declare function nullifyNotFound<T>(): (source: Observable<T>) => Observable<T | null>;
|
|
5
5
|
export declare function nullifyResponse<T>(statuses: number[], problemTypes: ClassType<Problem>[]): (source: Observable<T>) => Observable<T | null>;
|
|
6
|
+
export interface AbortError extends Error {
|
|
7
|
+
}
|
|
8
|
+
export declare type AbortErrorCtor = new () => AbortError;
|
|
9
|
+
/**
|
|
10
|
+
* An error thrown when an Observable converted to a promise is aborted with
|
|
11
|
+
* via a provided `AbortSignal`.
|
|
12
|
+
*
|
|
13
|
+
* @see {@link promiseFrom}
|
|
14
|
+
*
|
|
15
|
+
* @class AbortError
|
|
16
|
+
*/
|
|
17
|
+
export declare const AbortError: AbortErrorCtor;
|
|
18
|
+
/**
|
|
19
|
+
* Converts an Observable to a Promise, optionally aborting the Observable via
|
|
20
|
+
* a provided `AbortSignal`.
|
|
21
|
+
*
|
|
22
|
+
* @param obs Observable to convert to a Promise
|
|
23
|
+
* @param signal Optional AbortSignal to abort the Observable
|
|
24
|
+
* @returns Promise that resolves to the first value from the Observable
|
|
25
|
+
*/
|
|
26
|
+
export declare function promiseFrom<T>(obs: Observable<T>, signal?: AbortSignal): Promise<T>;
|
package/build/main/util/rxjs.js
CHANGED
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
// See the License for the specific language governing permissions and
|
|
14
14
|
// limitations under the License.
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.nullifyResponse = exports.nullifyNotFound = void 0;
|
|
16
|
+
exports.promiseFrom = exports.AbortError = exports.nullifyResponse = exports.nullifyNotFound = void 0;
|
|
17
17
|
const rxjs_1 = require("rxjs");
|
|
18
|
+
const createErrorClass_1 = require("rxjs/internal/util/createErrorClass");
|
|
18
19
|
const problem_1 = require("../problem");
|
|
19
20
|
function nullifyNotFound() {
|
|
20
21
|
return nullifyResponse([404], []);
|
|
@@ -33,4 +34,41 @@ function nullifyResponse(statuses, problemTypes) {
|
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
exports.nullifyResponse = nullifyResponse;
|
|
37
|
+
/**
|
|
38
|
+
* An error thrown when an Observable converted to a promise is aborted with
|
|
39
|
+
* via a provided `AbortSignal`.
|
|
40
|
+
*
|
|
41
|
+
* @see {@link promiseFrom}
|
|
42
|
+
*
|
|
43
|
+
* @class AbortError
|
|
44
|
+
*/
|
|
45
|
+
exports.AbortError = (0, createErrorClass_1.createErrorClass)((_super) => function AbortErrorImpl() {
|
|
46
|
+
_super(this);
|
|
47
|
+
this.name = 'AbortError';
|
|
48
|
+
this.message = 'sequence was aborted';
|
|
49
|
+
});
|
|
50
|
+
/**
|
|
51
|
+
* Converts an Observable to a Promise, optionally aborting the Observable via
|
|
52
|
+
* a provided `AbortSignal`.
|
|
53
|
+
*
|
|
54
|
+
* @param obs Observable to convert to a Promise
|
|
55
|
+
* @param signal Optional AbortSignal to abort the Observable
|
|
56
|
+
* @returns Promise that resolves to the first value from the Observable
|
|
57
|
+
*/
|
|
58
|
+
function promiseFrom(obs, signal) {
|
|
59
|
+
if (!signal) {
|
|
60
|
+
return (0, rxjs_1.firstValueFrom)(obs);
|
|
61
|
+
}
|
|
62
|
+
// Reject immediately if the signal has already fired. Use `AbortError`
|
|
63
|
+
// because that's what `first` will fail with per the note below
|
|
64
|
+
if (signal.aborted) {
|
|
65
|
+
return Promise.reject(new exports.AbortError());
|
|
66
|
+
}
|
|
67
|
+
const stop = (0, rxjs_1.fromEvent)(signal, 'abort').pipe((0, rxjs_1.take)(1), (0, rxjs_1.switchMap)(() => (0, rxjs_1.throwError)(() => new exports.AbortError())));
|
|
68
|
+
// Note that `takeUntil` will cause the observable to complete when the
|
|
69
|
+
// Signal fires, but `firstValueFrom` will fail with EmptyError if there
|
|
70
|
+
// wasn't a value, which will reject out of the returned Promise.
|
|
71
|
+
return (0, rxjs_1.firstValueFrom)(obs.pipe((0, rxjs_1.takeUntil)(stop)));
|
|
72
|
+
}
|
|
73
|
+
exports.promiseFrom = promiseFrom;
|
|
36
74
|
//# sourceMappingURL=rxjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxjs.js","sourceRoot":"","sources":["../../../src/util/rxjs.ts"],"names":[],"mappings":";AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,+
|
|
1
|
+
{"version":3,"file":"rxjs.js","sourceRoot":"","sources":["../../../src/util/rxjs.ts"],"names":[],"mappings":";AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,+BAUc;AACd,0EAAuE;AAEvE,wCAAqC;AAErC,SAAgB,eAAe;IAG7B,OAAO,eAAe,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC;AACpC,CAAC;AAJD,0CAIC;AAED,SAAgB,eAAe,CAC7B,QAAkB,EAClB,YAAkC;IAElC,OAAO,UAAa,MAAqB;QACvC,OAAO,MAAM,CAAC,IAAI,CAChB,IAAA,iBAAU,EAAC,CAAC,KAAK,EAAE,EAAE;YACnB,MAAM,SAAS,GAAG,KAAK,CAAC,WAAiC,CAAC;YAC1D,IACE,KAAK,YAAY,iBAAO;gBACxB,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,YAAY,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EACrE;gBACA,OAAO,IAAA,WAAI,EAAC,CAAC,IAAI,CAAC,CAAC,CAAC;aACrB;YACD,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC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