-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
Please explain difference between emitLastResult and emitsLastValueToNewSubscriptions #39
Comments
When You run same command second time and _emitLastResult is set to true last result of commend will be emited to the result stream immediatly after start On the other hand emitsLastValueToNewSubscriptions decides which type of Subject will be used for result stream |
Excatly on point @TomMannson |
Sorry... Still don't get the difference. Can you provide a very simple example to display the difference between these properties?
This is not clear... Isn't it the same as second one (emitsLastValueToNewSubscriptions / BehaviorSubject)
Ok, got it |
So emitLastResult effects when you call the command multiple times and emitsLastValueToNewSubscriptions effects what happens when a new subsriber is added to the command if it already has run before. |
ok, got it. Thank you |
Can you explain the difference and add it to the description?
The text was updated successfully, but these errors were encountered: