| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 0.27.7 source code.tar.gz | 2022-11-16 | 1.0 MB | |
| 0.27.7 source code.zip | 2022-11-16 | 1.2 MB | |
| README.md | 2022-11-16 | 1.3 kB | |
| Totals: 3 Items | 2.2 MB | 0 | |
https://pub.dev/packages/rxdart/versions/0.27.7
Fixed
Subject-
Only call
onAddandonErrorif the subject is not closed. This ensuresBehaviorSubjectandReplaySubjectdo not update their values after they have been closed. -
Subject.streamnow returns a read-onlyStream. Previously,Subject.streamwas identical to theSubject, so we could add events to it, for example:(subject.stream as Sink<T>).add(event). This behavior is now disallowed, and will throw aTypeErrorif attempted. UseSubject.sink/Subjectitself for adding events. -
Change return type of
ReplaySubject<T>.streamtoReplayStream<T>. - Internal refactoring of
Subject.addStream.
What's Changed
- fix(subject): only call
onAddandonErrorif the subject is not closed by @hoc081098 in https://github.com/ReactiveX/rxdart/pull/698 - refactor(subject):
Subject.streamnow returns a read-onlyStreamby @hoc081098 in https://github.com/ReactiveX/rxdart/pull/699 - refactor(subject): addStream by @hoc081098 in https://github.com/ReactiveX/rxdart/pull/700
- chore(publish): prepare for v0.27.7 by @hoc081098 in https://github.com/ReactiveX/rxdart/pull/701
Full Changelog: https://github.com/ReactiveX/rxdart/compare/0.27.6...0.27.7