Open
Description
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.
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