Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/* ========================== handlers ====================================== */
export const increaseCount =
Observable.of(() => {
dispatch(Actions.COUNTER_INCREASED)
})
export const decreaseCount =
Observable.of(() => {
dispatch(Actions.COUNTER_DECREASED)
})
/* ======================== all together ==================================== */
export default
Observable
.combineLatestObj({count, increaseCount, decreaseCount})