Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
lamnhan066 committed Jan 2, 2025
1 parent b777015 commit 8cf66b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/models/queue_strategy.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ class QueueStrategyRemoveOldest<R, P> extends QueueStrategy<R, P> {

class QueueStrategyDiscardIncoming<R, P> extends QueueStrategy<R, P> {
/// Discard the new incoming computation if the [maxCount] is exceeded.
QueueStrategyDiscardIncoming({
super.maxCount = 0,
});
QueueStrategyDiscardIncoming({super.maxCount = 0});

@override
bool continueIfMaxCountExceeded() {
Expand Down

0 comments on commit 8cf66b5

Please sign in to comment.