applyGraphChange static method
Notifies middlewares of a dependency graph change.
Implementation
static void applyGraphChange(
LxReactive computed,
List<LxReactive> dependencies,
) {
if (!LevitReactiveMiddleware.hasGraphChangeMiddlewares) return;
for (final mw in LevitReactiveMiddleware._middlewares) {
mw.onGraphChange?.call(computed, dependencies);
}
}