Skip to content

Commit 0c4dc3d

Browse files
committed
1.5.0-nullsafety.1 - Feb 14, 2021
1 parent add0855 commit 0c4dc3d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[![GitHub](https://img.shields.io/github/license/hoc081098/disposebag?color=4EB1BA)](https://opensource.org/licenses/MIT)
1212
[![Style](https://img.shields.io/badge/style-pedantic-40c4ff.svg)](https://github.com/dart-lang/pedantic)
1313

14-
A package to help disposing Streams and closing Sinks
14+
A package helps to cancel StreamSubscriptions and close Sinks.
1515

1616
## Usage
1717

@@ -24,7 +24,7 @@ import 'dart:async';
2424
main() async {
2525
final controllers = <StreamController>[];
2626
final subscriptions = <StreamSubscription>[];
27-
27+
2828
final bag = DisposeBag([...subscriptions, ...controllers]);
2929
3030
await Stream.value(3).listen(null).disposedBy(bag);

pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: disposebag
2-
description: A package to help disposing Streams and closing Sinks easily.
2+
description: A package helps to cancel StreamSubscriptions and close Sinks.
33
version: 1.5.0-nullsafety.1
4+
author: Petrus Nguyen Thai Hoc <hoc081098@gmail.com>
45
homepage: https://github.com/hoc081098/disposebag.git
56
repository: https://github.com/hoc081098/disposebag.git
67
issue_tracker: https://github.com/hoc081098/disposebag/issues

0 commit comments

Comments
 (0)