reactive-streams/reactive-streams-jvm

org.reactivestreams.Subscription add cancelOnError(Throwable) method

qinarmy-zoro opened this issue · 0 comments

org.reactivestreams.Subscription interface should add void cancelOnError(Throwable) method,
1.downstream occur exception must cancel.
2.upstream should distinguish between nornal and error.
3. if cancel for error,upstream can do something,like block api try-catch.
please, I guess that is important.