Commit f84e20ac authored by Tim Smart's avatar Tim Smart

2.1.0

parent facdc92b
## 2.1.0
- Remove `asObservable`
## 2.0.1
- Add listen method.
......
......@@ -4,7 +4,6 @@ import 'dart:async';
import 'package:meta/meta.dart';
import 'package:rxdart/rxdart.dart';
import 'package:rxdart/subjects.dart';
abstract class BlocStream<State> {
BlocStream() {
......@@ -33,10 +32,6 @@ abstract class BlocStream<State> {
final _closers = <void Function()>[];
Observable<State> asObservable() {
return Observable(subject);
}
@mustCallSuper
Future<void> close() {
_closers.forEach((fn) => fn());
......
name: bloc_stream
description: A simple package that helps you to implement the BLoC pattern in your applications.
version: 2.0.1
version: 2.1.0
homepage: https://gitlab.com/arisechurch/bloc_stream
environment:
......@@ -8,7 +8,7 @@ environment:
dependencies:
meta: ">= 1.0.0 < 2.0.0"
rxdart: ">= 0.16.0 < 1.0.0"
rxdart: ">= 0.23.0 < 1.0.0"
dev_dependencies:
pedantic: ^1.8.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment