@elderbyte/ngx-starter 17.7.0 → 17.7.2
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.
|
@@ -27,7 +27,7 @@ export declare class ReactiveFetchEventSource<T = any> {
|
|
|
27
27
|
**************************************************************************/
|
|
28
28
|
private readonly log;
|
|
29
29
|
private _closed;
|
|
30
|
-
private
|
|
30
|
+
private abortController;
|
|
31
31
|
private readonly state$;
|
|
32
32
|
private _unsubscribeSub;
|
|
33
33
|
private readonly eventTopics;
|
|
@@ -65,9 +65,9 @@ export declare class ReactiveFetchEventSource<T = any> {
|
|
|
65
65
|
open(): void;
|
|
66
66
|
/**
|
|
67
67
|
* Get an event stream for the given event type.
|
|
68
|
-
* @param
|
|
68
|
+
* @param eventTypeRaw The event type. Defaults to 'message'.
|
|
69
69
|
*/
|
|
70
|
-
events(
|
|
70
|
+
events(eventTypeRaw?: string): Observable<ReactiveSSeMessage>;
|
|
71
71
|
/**
|
|
72
72
|
* Get an event stream of messages parsed from json.
|
|
73
73
|
* (event.data must be in json format)
|
|
@@ -105,4 +105,5 @@ export declare class ReactiveFetchEventSource<T = any> {
|
|
|
105
105
|
private handleOnMessage;
|
|
106
106
|
private handleOnClose;
|
|
107
107
|
private updateState;
|
|
108
|
+
private eventTypeOrDefault;
|
|
108
109
|
}
|