@ethlete/core 1.3.0 → 1.4.1
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/esm2020/lib/services/destroy.service.mjs +5 -1
- package/esm2020/lib/utils/public-api.mjs +2 -1
- package/esm2020/lib/utils/rxjs.utils.mjs +27 -0
- package/fesm2015/ethlete-core.mjs +28 -1
- package/fesm2015/ethlete-core.mjs.map +1 -1
- package/fesm2020/ethlete-core.mjs +31 -1
- package/fesm2020/ethlete-core.mjs.map +1 -1
- package/lib/services/destroy.service.d.ts +3 -0
- package/lib/utils/public-api.d.ts +1 -0
- package/lib/utils/rxjs.utils.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Will be replaced with the upcoming Angular 16 `DestroyRef` feature.
|
|
5
|
+
*/
|
|
3
6
|
export declare class DestroyService implements OnDestroy {
|
|
4
7
|
private readonly _destroy$;
|
|
5
8
|
readonly destroy$: import("rxjs").Observable<boolean>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BehaviorSubject, Observer, Subscription } from 'rxjs';
|
|
2
|
+
export declare class BehaviorSubjectWithSubscriberCount<T> extends BehaviorSubject<T> {
|
|
3
|
+
private _subscriberCount;
|
|
4
|
+
get subscriberCount(): number;
|
|
5
|
+
subscribe(observerOrNext?: Partial<Observer<T>> | ((value: T) => void) | null, error?: ((error: any) => void) | null, complete?: (() => void) | null): Subscription;
|
|
6
|
+
subscribe(next?: ((value: T) => void) | null, error?: ((error: any) => void) | null, complete?: (() => void) | null): Subscription;
|
|
7
|
+
subscribe(observerOrNext?: Partial<Observer<T>> | ((value: T) => void) | undefined): Subscription;
|
|
8
|
+
unsubscribe(): void;
|
|
9
|
+
}
|