Only call onAdd and onError if the subject is not closed.
This ensures BehaviorSubject and ReplaySubject do not update their values after they have been closed.
Subject.stream now returns a read-onlyStream.
Previously, Subject.stream was identical to the Subject, so we could add events to it, for example: (subject.stream as Sink<T>).add(event).
This behavior is now disallowed, and will throw a TypeError if attempted. Use Subject.sink/Subject itself for adding events.
Change return type of ReplaySubject<T>.stream to ReplayStream<T>.
Only call onAdd and onError if the subject is not closed.
This ensures BehaviorSubject and ReplaySubject do not update their values after they have been closed.
Subject.stream now returns a read-onlyStream.
Previously, Subject.stream was identical to the Subject, so we could add events to it, for example: (subject.stream as Sink<T>).add(event).
This behavior is now disallowed, and will throw a TypeError if attempted. Use Subject.sink/Subject itself for adding events.
Change return type of ReplaySubject<T>.stream to ReplayStream<T>.
Internal refactoring of Subject.addStream.
Commits
3d1b6c0 chore(publish): prepare for v0.27.7 (#701)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rxdart from 0.27.6 to 0.27.7.
Release notes
Sourced from rxdart's releases.
Changelog
Sourced from rxdart's changelog.
Commits
3d1b6c0
chore(publish): prepare for v0.27.7 (#701)b0d6ad1
refactor(subject): addStream (#700)e1f6cd9
refactor(subject):Subject.stream
now returns a read-onlyStream
(#699)1a8fcef
ci: add dart 2.17.045f8c5e
fix(subject): only callonAdd
andonError
if the subject is not closed (#...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)