Feat: Allow a custom equals parameter for ObservableStream
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 0
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Create a custom equals parameter for [`ObservableStream`](https://pub.dev/documentation/mobx/latest/mobx/ObservableStream-class.html), like what exists already for [`Observable`](https://pub.dev/documentation/mobx/latest/mobx/Observable/Observable.html).
Currently, `ObservableStream` uses == to determine if the value changed. This creates an option to override that with a different EqualityComparator.
https://github.com/mobxjs/mobx.dart/blob/f8677da98b2077ae22b536abe3ea11be2ba8050e/mobx/lib/src/api/async/observable_stream.dart#L439
https://github.com/mobxjs/mobx.dart/blob/f8677da98b2077ae22b536abe3ea11be2ba8050e/mobx/lib/src/core/observable.dart#L62
https://github.com/mobxjs/mobx.dart/blob/f8677da98b2077ae22b536abe3ea11be2ba8050e/mobx/lib/src/core/observable.dart#L106
https://github.com/mobxjs/mobx.dart/issues/679
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.