reactronic 0.24.125 → 0.24.126
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.
|
@@ -79,7 +79,7 @@ declare class Launch extends ValueSnapshot implements Observer {
|
|
|
79
79
|
private static revokeAllSubscriptions;
|
|
80
80
|
private static propagateMemberChangeThroughSubscriptions;
|
|
81
81
|
private static enqueueReactiveFunctionsToRun;
|
|
82
|
-
private static
|
|
82
|
+
private static processQueuedReactiveFunctions;
|
|
83
83
|
private unsubscribeFromAllObservables;
|
|
84
84
|
private subscribeTo;
|
|
85
85
|
private static canSubscribeTo;
|
|
@@ -537,9 +537,9 @@ class Launch extends ValueSnapshot {
|
|
|
537
537
|
for (const r of reactive)
|
|
538
538
|
queue.push(r);
|
|
539
539
|
if (isReactiveLoopRequired)
|
|
540
|
-
ReactionImpl.proceedWithinGivenLaunch(undefined, Launch.
|
|
540
|
+
ReactionImpl.proceedWithinGivenLaunch(undefined, Launch.processQueuedReactiveFunctions);
|
|
541
541
|
}
|
|
542
|
-
static
|
|
542
|
+
static processQueuedReactiveFunctions() {
|
|
543
543
|
const queue = Launch.queuedReactiveFunctions;
|
|
544
544
|
let i = 0;
|
|
545
545
|
while (i < queue.length) {
|
|
@@ -45,6 +45,7 @@ export declare abstract class RxNode<E = unknown> {
|
|
|
45
45
|
static get childrenShuffling(): boolean;
|
|
46
46
|
static set childrenShuffling(value: boolean);
|
|
47
47
|
static triggerUpdate(node: RxNode<any>, triggers: unknown): void;
|
|
48
|
+
static triggerFinalize(node: RxNode<any>): void;
|
|
48
49
|
static updateNestedNodesThenDo(action: (error: unknown) => void): void;
|
|
49
50
|
static markAsMounted(node: RxNode<any>, yes: boolean): void;
|
|
50
51
|
static findMatchingHost<E = unknown, R = unknown>(node: RxNode<E>, match: SimpleDelegate<RxNode<E>, boolean>): RxNode<R> | undefined;
|
|
@@ -106,6 +106,10 @@ export class RxNode {
|
|
|
106
106
|
triggerUpdateViaSeat(impl.seat);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
static triggerFinalize(node) {
|
|
110
|
+
const impl = node;
|
|
111
|
+
triggerFinalization(impl.seat, true, true);
|
|
112
|
+
}
|
|
109
113
|
static updateNestedNodesThenDo(action) {
|
|
110
114
|
runUpdateNestedNodesThenDo(undefined, action);
|
|
111
115
|
}
|