Open pietermartin opened 3 years ago
Is it possible to have the error handling go via reactive's doOnError Already doOnComplete fires but doOnError is swallowed. Seems to me the only way to get the StateMachineEventResult is to block.
doOnError
doOnComplete
StateMachineEventResult
StateMachineEventResult<String, String> result = activityRecord.triggerHandleSignal() .subscribeOn(ICmStateMachine.TRIGGER_THREADS) .doOnComplete(() -> { }) .doOnError(throwable -> { }) .blockLast();
Would it not be better if the exception propogates to doOnError?
Thanks
Is it possible to have the error handling go via reactive's
doOnError
AlreadydoOnComplete
fires butdoOnError
is swallowed. Seems to me the only way to get theStateMachineEventResult
is to block.Would it not be better if the exception propogates to
doOnError
?Thanks