Hystrix icon indicating copy to clipboard operation
Hystrix copied to clipboard

Scalar Asynchronous HystrixCommand

Open mattrjacobs opened this issue 10 years ago • 3 comments

See #315 for history.

We already have HystrixCommand<T>, which is synchronous and scalar, and HystrixObservableCommand<T>, which is asynchronous and streaming.

We should add an asynchronous, scalar command as well.

Possible names:

  • HystrixFutureCommand
  • HystrixAsyncCommand

This will rely on a (as-yet-undefined) scalar rx.Observable, tracked here: https://github.com/ReactiveX/RxJava/issues/1594

mattrjacobs avatar Feb 03 '15 21:02 mattrjacobs

Also see #321

mattrjacobs avatar Feb 03 '15 21:02 mattrjacobs

RxJava 1.0.13 now includes rx.Single, so this work should be unblocked

mattrjacobs avatar Aug 03 '15 17:08 mattrjacobs

What about CompletableFuture or a CompletionStage? That way, you can just base this on the universal Java API

brunoalmeida-fairtiq avatar Jun 19 '20 07:06 brunoalmeida-fairtiq