-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
HystrixObservableCommand.run() Method Name #223
Comments
This needs to be decided before the final 1.4.0 release. |
The pattern i've been using for commands which return an Observable (and don't actually run) is to call them, There may be a better convention for reactive commands though that I am not aware of. :) But I agree it should be renamed to reduce confusion. |
|
Either of those would work for me. So it seems options are:
|
observe() or create() would be my vote. The class name implies that you're creating an observable, so I don't think you need to include 'observable' in the method name. Unless you think it removes ambiguity when compared to the other Hystrix Commands. |
What about |
|
+1 for |
I like |
Should this method still be called
run()
, or something else since it actually does not "run" anything, but just retrieves theObservable<T>
that will later be run?The text was updated successfully, but these errors were encountered: