storio icon indicating copy to clipboard operation
storio copied to clipboard

Don't compute result of Get Operation if subscriber unsubscribed

Open artem-zinnatullin opened this issue 10 years ago • 2 comments

Currently we use OnSubscribeExecuteAsBlocking class that executes PreparedOperation anyway and then notifies Subscriber about result if it's not unsubscribed at this time.

It's okay for Put and Delete Operations because they should happen even if subscriber already unsubscribed, but we can skip it for Get Operation to prevent uneeded computations.

artem-zinnatullin avatar Jul 27 '15 02:07 artem-zinnatullin

I'd like to work on this

Reagankm avatar Oct 01 '17 16:10 Reagankm

@Reagankm thank you! But we should make it over rxjava2 migration and check if emitter is not disposed here. Otherwise we will meet conflict =(

nikitin-da avatar Oct 02 '17 08:10 nikitin-da