Closed kanawish closed 1 year ago
Received a suggestion to change Observable.just(reducer) usage to
Observable.just(reducer)
Observable.create{ emitter -> val reducer : Reducer<T> = { it.apply(block) } emitter.onNext(reducer) emitter.onComplete() }
The concern being, exceptions are not really being taken in account with current code.
That said, part of my naive thinking has been "crashing reducers? crash the app". Re-evaluate if that actually made sense.
Received a suggestion to change
Observable.just(reducer)
usage toThe concern being, exceptions are not really being taken in account with current code.
That said, part of my naive thinking has been "crashing reducers? crash the app". Re-evaluate if that actually made sense.