mftsccs-browser 2.2.24-beta → 2.2.26-beta
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.
|
@@ -73,9 +73,10 @@ export declare class DependencyObserver {
|
|
|
73
73
|
/**
|
|
74
74
|
* Subscribes a callback to receive data updates whenever tracked concepts/connections change.
|
|
75
75
|
* @param callback - Function to call with (data, observer) when updates occur
|
|
76
|
+
* @param errorCallback - Optional function to call when errors occur
|
|
76
77
|
* @returns Result of calling the callback with current data
|
|
77
78
|
*/
|
|
78
|
-
subscribe(callback: any): Promise<any>;
|
|
79
|
+
subscribe(callback: any, errorCallback?: (error: Error) => void): Promise<any>;
|
|
79
80
|
/**
|
|
80
81
|
* Executes the observable once without subscribing to updates.
|
|
81
82
|
* @returns The executed data
|