notifyEffectScope method
Processes a notification for an EffectScope, handling any pending effects.
This method checks if the scope has any pending effects that need to be processed. If there are pending effects, it will process them and return true. Otherwise, it returns false indicating no effects needed processing.
scope
The effect scope to process notifications for
Returns true if pending effects were processed, false otherwise
Implementation
bool notifyEffectScope(EffectScope scope) {
final flags = scope.flags;
if ((flags & SubscriberFlags.pendingEffect) != 0) {
processPendingInnerEffects(scope, scope.flags);
return true;
}
return false;
}