Skip to content

Commit

Permalink
isWithinDerivation
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy authored Sep 4, 2022
1 parent 5a58d06 commit 0d1f5a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mobx/lib/src/core/context.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ class ReactiveContext {

bool get isWithinBatch => _state.isWithinBatch;

bool get isWithinDerivation => _state.isWithinDerivation;

bool get isSpyEnabled =>
_config.isSpyEnabled && _state.spyListeners.isNotEmpty;

Expand Down

0 comments on commit 0d1f5a1

Please sign in to comment.