Skip to content

Commit

Permalink
feat: add observable queue
Browse files Browse the repository at this point in the history
  • Loading branch information
amondnet committed Oct 30, 2024
1 parent 2941cef commit 7db7b86
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mobx/lib/src/api/observable_collections/observable_queue.dart
Original file line number Diff line number Diff line change
Expand Up @@ -293,14 +293,6 @@ class ObservableQueue<T> extends ListQueue<T>
return _queue.last;
}

@override
T reduce(T Function(T value, T element) combine) {
_context.enforceReadPolicy(_atom);

_atom.reportObserved();
return _queue.reduce(combine);
}

@override
T removeFirst() {
late T value;
Expand Down

0 comments on commit 7db7b86

Please sign in to comment.