Skip to content

Commit

Permalink
dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
maeddin committed Jul 28, 2024
1 parent 965af92 commit a6ea5af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ void main() {
storage: MemoryTokenBucketStorage(),
);

if(bucket.consume()) {
if (bucket.consume()) {
// Consumed 1 token successfully
}

if(bucket.consume(2)) {
if (bucket.consume(2)) {
// Consumed 2 tokens successfully
}
}

0 comments on commit a6ea5af

Please sign in to comment.