We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we remove the publishLast and publish(initialValue) methods?
They are easily handled by composing takeLast and concat with publish.
takeLast
concat
publish
/cc @headinthebox
They don't need AsyncSubject or BehaviorSubject with multicast to work:
AsyncSubject
BehaviorSubject
multicast
public final ConnectableObservable<T> publishLast() { return takeLast(1).publish(); } public final ConnectableObservable<T> publish(final T initialValue) { return concatWith(just(initialValue)).publish(); }
Prior to #1779 they were using multicast with subjects.
The text was updated successfully, but these errors were encountered:
Remove PublishLast/InitialValue
4bbc600
See ReactiveX#1785
Pull request if we agree -> #1788
Sorry, something went wrong.
@headinthebox and I reviewed and agreed. The methods are removed.
No branches or pull requests
Should we remove the publishLast and publish(initialValue) methods?
They are easily handled by composing
takeLast
andconcat
withpublish
./cc @headinthebox
They don't need
AsyncSubject
orBehaviorSubject
withmulticast
to work:Prior to #1779 they were using
multicast
with subjects.The text was updated successfully, but these errors were encountered: