distinct_value_connectable_stream 2.0.0 copy "distinct_value_connectable_stream: ^2.0.0" to clipboard
distinct_value_connectable_stream: ^2.0.0 copied to clipboard

discontinuedreplaced by: rxdart_ext

Distinct value connectable stream for RxDart, useful for BLoC pattern

2.0.0 - Sep 13, 2021 #

  • DEPRECATED. This package is now merged into rxdart_ext package. Please use rxdart_ext package for the same purpose, thanks.
    • DistinctValueSubject -> StateSubject.
    • DistinctValueConnectableStream -> StateConnectableStream.
    • publishValueDistinct -> publishState.
    • shareValueDistinct -> shareState.
    • distinctValue -> toStateStream.

1.3.0 - May 9, 2021 #

  • Update rxdart to 0.27.0.

1.2.0 - Mar 27, 2021 #

  • Update dependencies.
  • Add DistinctValueSubject.
  • Add extensions for DistinctValueStream: asDistinctValueConnectableStream, asBroadcastDistinctValueStream.

1.2.0-nullsafety.5 - Feb 8, 2021 #

  • Update dependencies.

1.2.0-nullsafety.4 - Feb 7, 2021 #

  • Remove generic type of DistinctValueStream.defaultEquals.

1.2.0-nullsafety.3 - Feb 1, 2021 #

  • DistinctValueStream: change return type of Null get errorAndStackTrace (previous is Never).
  • Add DistinctValueStreamExtensions: easily access value and error.
  • Add distinctValue extension method: convert a Stream to a single-subscription DistinctValueStream.

1.2.0-nullsafety.2 - Jan 9, 2021 #

  • Breaking change: Any errors from upstream and from equals callback will be not added to Stream. They are considered unhandled, and will be passed to the current Zone's error handler. By default, unhandled async errors are treated as if they were uncaught top-level errors.

1.2.0-nullsafety.1 - Jan 8, 2021 #

  • Update README.md.

1.2.0-nullsafety.0 - Jan 8, 2021 #

  • Migrate this package to null safety.
  • Sdk constraints: >=2.12.0-0 <3.0.0 based on beta release guidelines.
  • Depends on rxdart_ext.

1.2.0-beta02 - Dec 7, 2020 #

  • Updated rxdart: ^0.25.0.

1.2.0-beta01 - Oct 18, 2020 #

  • Introduce ValueSubject same as PublishSubject, with the ability to capture the latest item has been added to the controller.

  • Rewrite DistinctValueConnectableStream: now will not replay the latest data or error, value getter instead. This is more consistent to StreamBuilder.initialData in Flutter.

  • Extension methods: removed publishValueSeededDistinct and shareValueSeededDistinct. Add to publishValueDistinct and shareValueDistinct a required parameter T seedValue. This is more consistent to StreamBuilder.initialData in Flutter.

  • Added DistinctValueStream: It's also ValueStream but emphasizes that two consecutive values are not equal (Equality is determined by equals method).

  • Note that this is a beta release, mainly because the behavior of DistinctValueConnectableStream has been adjusted. If all goes well, we'll release a proper 1.2.0 release soon.

1.1.1 - Apr 27, 2020 #

  • Minor updates.

1.1.0 - Apr 23, 2020 #

  • Breaking change: support for rxdart 0.24.x.

1.0.3+1 - Jan 14, 2020 #

  • Fix analysis

1.0.3 - Dec 15, 2019 #

  • Fix README.md

1.0.2 - Dec 15, 2019 #

  • Fix README.md

1.0.1 - Dec 15, 2019 #

  • Fix README.md

1.0.0 - Dec 15, 2019 #

  • Publish
5
likes
150
pub points
59%
popularity

Publisher

unverified uploader

Distinct value connectable stream for RxDart, useful for BLoC pattern

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta, rxdart_ext

More

Packages that depend on distinct_value_connectable_stream