Skip to content

Commit

Permalink
docs(core_concepts): fix typo in counter_bloc_stream_usage (#3259)
Browse files Browse the repository at this point in the history
  • Loading branch information
nesquikm authored Mar 3, 2022
1 parent 91f9e6d commit 330d43b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Future<void> main() async {
final bloc = CounterBloc();
final subscription = bloc.stream.listen(print); // 1
bloc.add(CounterIncrementPresed());
bloc.add(CounterIncrementPressed());
await Future.delayed(Duration.zero);
await subscription.cancel();
await bloc.close();
}
```
```

0 comments on commit 330d43b

Please sign in to comment.